Re: Unable to load configuration: /struts2-core-6.4.0.jar!/struts-beans.xml:39:72

Lukasz Lenart <[email protected]>
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <CAMopvkO7b3MnCs59m_U4W0iiWcZwGj6aaF4Ath5p=_Yn69WNsg@mail.gmail.com>
czw., 18 kwi 2024 o 08:02 [email protected]
<[email protected]> napisał(a):
>
> With Struts 6.4.0 I get an error
>
> 18-04-2024 07:48:41.4 ERROR org.apache.struts2.dispatcher.Dispatcher -
> Dispatcher initialization failed
>
> Unable to load configuration. - bean - jar:file:
> .../.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/SC/WEB-INF/lib/struts2-core-6.4.0.jar!/struts-beans.xml:39:72

The path looks suspicious, did you start the app from Eclipse
directly? Can you build a WAR file and deploy it?

> This is probably related to the new caching mechanism. I added the new
> libraries from the standalone package at
>
> https://dist.apache.org/repos/dist/dev/struts/6.4.0/
>
> caffeine-2.9.3.jar (this is outdated with 3.1.8 being the latest)
> checker-qual-3.1.9.0.jar (3.37.0 would be the latest)
> error_prone_annotations-2.10.0.jar (2.26.1 would be the latest)
>
> Did I miss something?

This is the minimal set of JARs needed, if something is missing let me know:
caffeine-2.9.3.jar
commons-fileupload-1.5.jar
commons-lang3-3.14.0.jar
commons-text-1.11.0.jar
freemarker-2.3.32.jar
javassist-3.29.0-GA.jar
log4j-api-2.23.1.jar
ognl-3.3.4.jar
struts2-core-6.4.0.jar


Regards
Lukasz
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.