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

"[email protected]" <[email protected]>
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <[email protected]>
Thanks Lukasz

Am 18.04.24 um 08:11 schrieb Lukasz Lenart:
> 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 was my fault: I forgot to delete the old struts-6.3.0 libraries. 
No good idea to have different class version doubled...


...unfortunately, the next issue comes immediately:


18-04-2024 08:19:58.4 WARN org.apache.struts2.views.tiles.TilesResult - 
could not find @TilesDefinition for action: start
18-04-2024 08:19:58.4 ERROR 
org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler - Exception 
occurred during processing request: Cannot find definition named 'start'
org.apache.tiles.core.definition.NoSuchDefinitionException: Cannot find 
definition named 'start'


I use a tiles.xml and not Annotations. Was there a change regarding xml 
definitions?


>
>> 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

These are all met.


>
> Regards
> Lukasz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
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.