File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.apache.axis cannot be resolved to a type (Eclipse Helios)

 
terr lundamo
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I've just taken over an eclipse project. It's a webservice. This is the first web service project i've looked at, also i've never worked with eclipse, so i might have missed something basic.

There's a lot of "cannot be resolved to a type" errors, org.apache.axis is one of them.

- I added all the jar files that came with the project to build path libraries. Including all the axis2 jar files.
- The jar files is now located under project -> Referenced Libraries.
- Under preferences -> Web Services -> Axis2 Preferences i've set the Axis2 runtime location. "Axis2 runtime loaded successfully".
- Added server Tomcat v7.0

I've searched the web for some time, but i'm stuck at the moment.

Am i missing anything?

 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this short key Ctrl+Shift+O.
This will organize imports meaning only import packages used by class.
 
terr lundamo
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Muhammad Saifuddin wrote:Try this short key Ctrl+Shift+O.
This will organize imports meaning only import packages used by class.


Thanks for the tip but no luck, "0 imports added"
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to:
http://findjar.com/class/org/apache/axis/description/TypeDesc.html

This Class seems only to be in axis1.x

You state you have added the axis2 jars, so this tells me that the project is using axis1.x

WP
 
terr lundamo
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
findjar.com is bookmarked! never seen that site

I'll try using axis1.

 
terr lundamo
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It compiles, now to figure out how to run this project

Thank you!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic