Looks like mvn -Declipse.workspace=<Eclipse Workspace Location>
eclipse:add-maven-repo did not work? Perhaps you could try running it again.

Mike.

On 3/14/07, yuccaplant <[EMAIL PROTECTED]> wrote:


Sorry for the delayed answer, I'm not sure I understand what you both
mean.

The import cannot be resolved for:

javax.servlet
org.acegisecurity
com.opensymphony.clickstream

These imports are all situated in .jps's.

One of the missing resources where Eclipse barfs at is (com.opensymphony.
...) this resource is listed in Project -> properties -> Built Patrh ->
Libraries, but is marked with an '!'.

All M2_REPO's are marked like this in Eclipse.

Kind regards,

Pieter



Michael Horwitz wrote:
>
> It does sound about right. There is still an outstanding issue with the
> Eclipse project plugin, but this should not affect AppFuse end users who
> simply depend on AppFuse jar files. I would suggest a check of the list
of
> libraries in the Eclipse project to see if the required ones are present
> to
> satisfy the imports. If they are missing, then we potentially have an
> issue
> with the way the Eclipse plugin interacts with the Warpath plugin.
>
> Mike.
>
> On 3/12/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>>
>> 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]
>>
>>
>
>

--
View this message in context:
http://www.nabble.com/Eclipse-3.2-building-problems-tf3388798s2369.html#a9476600
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to