My application works fine on one PC and giving below mentioned error on another PC. I have struts.jar file in folder "WEB-INF\lib" in the EAR file. I copied struts.jar to JBoss\lib as well as JBoss\server\default\lib folder. But still getting same error.
Really appreciate any suggestions.
Error : Input/output error reading configuration from resource path /WEB-INF/struts-config.xml
Thanks much.
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
posted
0
Originally posted by Dilip kumar: I copied struts.jar to JBoss\lib as well as JBoss\server\default\lib folder. But still getting same error.
This could very well be the problem. The struts jar file should be in your WEB-INF/lib directory only and nowhere else in the classpath. This can cause some of the Struts classes to be loaded with one ClassLoader and some with another, which can cause some strange errors.