4.5release Web app + C:\Apache\TomCat5\shared\lib\ can't see *.jar

My Web application can't see classes stored in tomcat shared/lib dir..

It's included in all library's settings in idea.. but when I press debug..



2004-07-28 12:18:51 StandardContext[/ed1]Error configuring application
listener
of class com.sun.xml.rpc.server.http.JAXRPCContextListener
java.lang.ClassNotFoundException:
com.sun.xml.rpc.server.http.JAXRPCContextListe
ner
It's in shared/lib dir..

when I run tomcat without idea.. everything working fine..

any idea?

It's a bug? Or I can set it up somewhere?


2 comments
Comment actions Permalink

Yes. It's a bug.

IDEA does not copy shared libraries to the temporary CATALINA_BASE.

You should use those libraries explicitly.


Open 'Paths' dialog.
In 'Libraries' tab create global library that contain all jars from C:\Apache\TomCat5\shared\lib\.

In 'Web Module Settings' tab. Set 'Copy files to' packaging method.

0

Please sign in to leave a comment.