Re: java.lang.LinkageError for jakarta.faces.context.ExternalContext

Milan Durovic <[email protected]>
Newsgroups gmane.comp.java.openejb.user
Message-ID <[email protected]>
The distribution I have doesn’t include one. I downloaded “web profile” one, version 9.1.0. This is what it has:

apache-tomee-webprofile-9.1.0 % find . -name '*commons*'
./bin/commons-daemon.jar
./bin/commons-daemon-native.tar.gz
./lib/commons-logging-1.2.jar
./lib/commons-cli-1.5.0.jar
./lib/commons-pool2-2.11.1.jar
./lib/commons-dbcp2-shade-9.1.0.jar
./lib/commons-digester-1.8.jar
./lib/istack-commons-runtime-4.0.1.jar
./lib/commons-collections-3.2.2.jar
./lib/commons-codec-1.15.jar
./lib/commons-beanutils-1.9.4.jar
./lib/commons-lang3-3.12.0.jar

If I don’t include the dependency below, then the loader complains it can’t find some class that’s in that JAR.

> On 25 Jul 2023, at 8:34 am, Kean Erickson <[email protected]> wrote:
> 
> dependency>
>      <groupId>commons-fileupload</groupId>
>      <artifactId>commons-fileupload</artifactId>
>      <version>1.5</version>
>      <scope>runtime</scope> <!-- can't find out which JAR needs it -->
> 
> 
> TomEE comes with this one. So you should be able to use scope "provided",
> or omit it.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.