Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » struts-blank error under eclipse 3.0
struts-blank error under eclipse 3.0 [message #168300] Mon, 12 July 2004 11:53 Go to next message
Eclipse UserFriend
Originally posted by: uh-uh-no-email.my-real-email-address.invalid

I don't know if this is the proper place for this question or not but,
if not perhaps someone can point me to a better resource for this
question.

I'm experimenting with some simple struts stuff under eclipse 3.0 and
although struts-blank does run I get an error that I'm not sure how to
fix. I've used struts under previous versions of eclipse and not
noticed this issue.

btw, I'm also using tomcat 4.0.6 and the new beta sysdeo plugin for
eclipse.

Here's what the issue is:

In short when I run the struts-blank app, Welcome.jsp is compiled and
comes up in my browser but there is a compilation error. The generated
Welcome$jsp.java carries the package statement:

package org.apache.jsp;

but it is generated in this directory:

<application-root>\work\org\apache\jsp\pages

And so should be in package org.apache.jsp.pages

To generate the eclipse project I created a tomcat project and imported
struts-blank.war. struts-blank puts the index.jsp at the root (and it
results in no complilation issues) but Welcome.jsp is in /pages.

I assume there's some massaging of the eclipse project I could do to
help eliminate the Welcome$jsp.java error. I tried making /Pages a
source folder in hops it would not consider it part of the package
structure but that didn't work.

Any advice?
Re: struts-blank error under eclipse 3.0 [message #169076 is a reply to message #168300] Fri, 16 July 2004 19:03 Go to previous message
Eclipse UserFriend
Dave 7/12/2004 11:53 AM (rearranged)
> I'm experimenting with some simple struts stuff under eclipse 3.0
> and although struts-blank does run I get an error that I'm not sure
> how to fix. I've used struts under previous versions of eclipse and
> not noticed this issue.

> btw, I'm also using tomcat 4.0.6 and the new beta sysdeo plugin for
> eclipse.

> I don't know if this is the proper place for this question

I suspect not, absent evidence your problem is caused by the base.

> or not but, if not perhaps someone can point me to a better resource
> for this question.

Try a sysdeo {forum, list, newsgroup}.
Previous Topic:JSP editors for 3.0
Next Topic:Maven 1.0 and Eclipse
Goto Forum:
  


Current Time: Wed Sep 17 13:55:42 EDT 2025

Powered by FUDForum. Page generated in 0.04654 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top