These errors are likely because Eclipse isn't reading the dependencies from the WARs (using the warpath plugin). Does that sound right Mike?
A lot of the JSP errors that Eclipse reports are invalid, but it sounds to me like it's barfing on imports. Matt On 3/12/07, yuccaplant <[EMAIL PROTECTED]> wrote:
Yes I did that (checked it again). Afterwards I did it the first time, there were a lot of import errors gone. In fact Eclipse doesn't give import-errors, but as far as I can see the errors are the result of missing resources. If I go to preferences -> Java builth path, Eclipse gives a warning: 57 build path entries missing. Some of the imports that cannot be resolved: <%@ page import="java.util.*, com.opensymphony.clickstream.Clickstream, com.opensymphony.clickstream.ClickstreamRequest" %> <%@ page import="javax.servlet.http.Cookie" %> <%@ page import="org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices" %> .... Thanks, Pieter Michael Horwitz wrote: > > Have you set up your Maven repository for use with Eclipse by running mvn > - > Declipse.workspace=<M2 Repo Location> eclipse:add-maven-repo? You can find > details here: http://www.appfuse.org/display/APF/Eclipse or here > http://maven.apache.org/plugins/maven-eclipse-plugin/usage.html > > Mike. > > > On 3/12/07, yuccaplant <[EMAIL PROTECTED]> wrote: >> >> >> I'm trying to start a simple struts2 project with appfuse, follow the >> instructions on the Wiki. In console everything goes fine, no building >> errors. I use Eclipse as my IDE, but when I import the project (after mvn >> eclipse:eclipse), I get a bunch of building errors: >> >> Clickstream cannot be resolved to a type... >> Cookie cannot be resolved to a type... >> >> Some imports can't be found. >> >> As from what I read on the mailinglist, there are users who successfully >> use >> appfuse with Eclipse, I might have done something very stupid. I read the >> instructions over and over again, but can't find what I missed. >> >> (I'm using MacOsX, the latest version of appfuse, mvn and mySql) >> >> Has somebody an idea what's going wrong? >> >> Thanks a lot, >> >> Pieter >> -- >> View this message in context: >> http://www.nabble.com/Eclipse-3.2-building-problems-tf3388798s2369.html#a9432560 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Eclipse-3.2-building-problems-tf3388798s2369.html#a9432983 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]