File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes org.apache.axis cannot be resolved to a type (Eclipse Helios) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "org.apache.axis cannot be resolved to a type (Eclipse Helios)" Watch "org.apache.axis cannot be resolved to a type (Eclipse Helios)" New topic
Author

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

terr lundamo
Greenhorn

Joined: Dec 08, 2010
Posts: 19
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

Joined: Dec 06, 2005
Posts: 1321

Try this short key Ctrl+Shift+O.
This will organize imports meaning only import packages used by class.


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
terr lundamo
Greenhorn

Joined: Dec 08, 2010
Posts: 19
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

Joined: Mar 28, 2012
Posts: 859

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

Joined: Dec 08, 2010
Posts: 19
findjar.com is bookmarked! never seen that site

I'll try using axis1.

terr lundamo
Greenhorn

Joined: Dec 08, 2010
Posts: 19
It compiles, now to figure out how to run this project

Thank you!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: org.apache.axis cannot be resolved to a type (Eclipse Helios)