Solved

org.apache.axis2 cannot be resolved to a type

Posted on 2010-09-17
5
3,129 Views
Last Modified: 2013-12-15
Why this error happens on eclipse
0
Comment
Question by:3XLcom
  • 3
  • 2
5 Comments
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
Comment Utility
do you have axis jars in your build path
0
 

Author Comment

by:3XLcom
Comment Utility
nope and i could not find requireds this time :D
0
 
LVL 92

Expert Comment

by:objects
Comment Utility
where are you getting the error?
you may need to install the axis and tell eclipse where it is
http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html
0
 

Author Comment

by:3XLcom
Comment Utility
I use completely your code and this is what i get on login method :

org.apache.jasper.JasperException: An exception occurred processing JSP page /Result.jsp at line 112



109:         <jsp:useBean id="com1deloitte1dgpys1ws1holders1StringValueHolder_9id" scope="session" class="com.deloitte.dgpys.ws.holders.StringValueHolder" />

110:         <%

111:         com1deloitte1dgpys1ws1holders1StringValueHolder_9id.value = com1deloitte1dgpys1ws1StringValue_10id;

112:         sampleEVDServisPortTypeProxyid.login(com1deloitte1dgpys1ws1LoginMessage_1id,com1deloitte1dgpys1ws1holders1IntValueHolder_6id,com1deloitte1dgpys1ws1holders1StringValueHolder_9id);

113: break;

114: }

115: 





Stacktrace:

	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)

	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:407)

	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)

	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)

	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)





root cause 



unknown

	org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)

	org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)

	org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)

	com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)

	com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)

	com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)

	com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)

	com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)

	com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

	com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)

	com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)

	com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)

	com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)

	com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

	javax.xml.parsers.SAXParser.parse(Unknown Source)

	org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)

	org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

	org.apache.axis.Message.getSOAPEnvelope(Message.java:435)

	org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)

	org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)

	org.apache.axis.client.Call.invokeEngine(Call.java:2784)

	org.apache.axis.client.Call.invoke(Call.java:2767)

	org.apache.axis.client.Call.invoke(Call.java:2443)

	org.apache.axis.client.Call.invoke(Call.java:2366)

	org.apache.axis.client.Call.invoke(Call.java:1812)

	com.deloitte.dgpys.ws.EVDServisSOAP11BindingStub.login(EVDServisSOAP11BindingStub.java:696)

	com.deloitte.dgpys.ws.EVDServisPortTypeProxy.login(EVDServisPortTypeProxy.java:50)

	org.apache.jsp.Result_jsp._jspService(Result_jsp.java:266)

	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)

	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)

	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)

	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Open in new window

erf.png
0
 

Author Closing Comment

by:3XLcom
Comment Utility
My mistake it was another question's answer Thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
factorial example challenge 10 60
strCount chalenge 3 50
eclipse formatting 6 38
Java - Why doesn't this JFrame work 3 14
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now