Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Created test-client does not run: JSP compile error: axis.jar not found
Created test-client does not run: JSP compile error: axis.jar not found [message #183179] Fri, 24 November 2006 14:10
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
(I am pretty new to this WTP/WST toolkit, so bear with me.).

I have a .wsdl file for which I want to create a test-client. So I
define a project and place the .wsdl file into it.
I then right-click on the .wsdl, select Web Services => Generate Client
There I push the slider all the way up and click Finish.

Things are created and compile fine. Two new projects are created. The
stuff is deployed to my local, previously installed and tested server
(Geronimo 1.1 on localhost) and that server is restarted.

But then I get a couple of errors on its console all reading:
--------------------------------------
....
14:54:26,134 ERROR [[jsp]] Servlet.service() for servlet jsp threw
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
The type org.apache.axis.AxisFault cannot be resolved. It is indirectly
referenced from required .class files

at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(De faultErrorHandler.java:84)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorD ispatcher.java:328)
at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTComp iler.java:409)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:29 7)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:27 6)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:26 4)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilati onContext.java:563)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:303)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
at
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke( DefaultSubjectValve.java:56)
at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMet hodValve.invoke(GeronimoStandardContext.java:342)
at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.in voke(GeronimoBeforeAfterValve.java:31)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa lve.java:541)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:667)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:797)
--------------------------------------

The class org.apache.axis.AxisFault is in axis.jar, so apparently that
..jar is missing. But if I check on Geronimo's console under Common Libs
I get the following list:

Current Repository Entries
...
* asm/asm/1.4.3/jar
* axis/axis/1.4/jar
* cglib/cglib-nodep/2.1_3/jar
* ...

.... which contains axis.jar. Why is that axis.jar obviously not part of
the client's classpath?

What am I missing here? Any help appreciated!

Michael
Previous Topic:JSP-Oracle Connectivity, using Eclipse WTP for development
Next Topic:Project structure: 1 Project - many EJB Modules
Goto Forum:
  


Current Time: Fri Apr 26 08:42:51 GMT 2024

Powered by FUDForum. Page generated in 0.02554 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top