| 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: 1318
|
|
Try this short key Ctrl+Shift+O.
This will organize imports meaning only import packages used by class.
|
Saifuddin..
[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: 860
|
|
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!
|
 |
 |
|
|
subject: org.apache.axis cannot be resolved to a type (Eclipse Helios)
|
|
|