Interesting. I looked at the dependencies included with the struts2-core Maven artifact and it appears that ASM 5.2 is not there. Is this on purpose? I see ASM is included in the lib file of the downloadable distribution and in the WEB-INF/lib directory of the sample applications. Needless to say, since it isn't in the Maven dependency chain, it does not appear in my application. I tried adding ASM 5.2 to my pom, added some instructions to try to get Weblogic to prefer the packages in the web application over Weblogic's own (don't know why that isn't the default behavior *shrug*) and got the same failure. I tried deploying the same application to Tomcat 9 and it worked fine, so it looks like either I'm configuring something wrong in Weblogic or Weblogic has a problem. I've opened a support request with Oracle to see what they think.
Thanks!

On 2018-01-19 03:17, Lukasz Lenart wrote:

It's probably because we have switched to the latest ASM 5.2 version
[1] but looks like Weblogic uses (repackaged one -
"com.bea.objectweb.asm") an old version of ASM. I think you should
request Oracle support for a solution, maybe they have a patch for the
Weblogic or try to downgrade version used in Struts.

[1] https://issues.apache.org/jira/browse/WW-4826

2018-01-18 17:01 GMT+01:00 <fullmit...@lycos.com>: On 1/18/2018 12:26 AM, fullmit...@lycos.com wrote:
Caused By: java.lang.IllegalArgumentException
at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
at



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to