Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

packages in tomcat project with eclipse??

Status
Not open for further replies.

boaconstrictor

Programmer
Feb 21, 2002
19
0
0
CH
Hi,
I just tried to follow a tutorial on struts ( Thus I've built a project using the Sysdeo plugin of eclipse. But I failed already on compiling the class "RegisterAction1". The problem is the package: I should define the package "coreservlets" in the class, and the class should be placed in WEB-INF/src/coreservlets/.
But eclipse complains The declared package does not match the expected package.
The question now is: What do I have to do to get rid of this error??

Kind regards,

boa
 
well i am having the same problem as you have mentioned here in the tek-tips forum....may be we have to add on a plugin J2EE pugin to the eclipse.

if you have any other idea or have solved the probleb please reply back.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top