This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts2 classloader problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 classloader problem." Watch "Struts2 classloader problem." New topic
Author

Struts2 classloader problem.

Fabrizio Di Fonzo
Greenhorn

Joined: May 17, 2010
Posts: 1
Hi all,
I'm working with struts2, jboss 5, spring and datanucleus. Everything was working good, but after I decided to use jca and deployed the datanucleus-jca.rar, I started getting the following error:

2010-05-17 16:04:18,168 ERROR [com.opensymphony.xwork2.util.classloader.ReloadingClassLoader] (main) Exception while trying to build the ResourceStore for URL [file://3j011-ebbsl5-g9bd7p0a-1-g9bd89fr-2c/]

java.lang.IllegalArgumentException: URI has an authority component

at java.io.File.<init>(File.java:368)

at com.opensymphony.xwork2.util.classloader.ReloadingClassLoader.<init>(ReloadingClassLoader.java:50)

…..
…...

It looks like struts2 has some problem with the classloader. Has someone got any ideas?
Any suggestion would be really appreciated.
Please, let me know if you need some more info.

Thanks a lot,
Fabrizio
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2 classloader problem.
 
Similar Threads
Struts2 java.lang.reflect.InvocationTargetException (Struts2 with Hibernate)
Error with Struts2
Exception in Struts2
problem with starting Struts2
Hibernate connection problem with struts2