I copied taglibs.jsp from
target/war/work/appfuse-struts-2.0.2/common/taglibs.jsp to
target/war/work/appfuse-web-common-2.0.2/common/taglibs.jsp & now I have
only 9 errors. One of 
them, however, is in the newly copied taglibs.jsp, which cannot find the tag
library
descriptor for "http://www.appfuse.org/tags/struts";.

I also copied **/common/messages.jsp to the same place, I now have only 8
errors.

I deleted "<%@ taglib uri="http://www.appfuse.org/tags/struts";
prefix="appfuse" %>"
from target/war/work/appfuse-web-common-2.0.2/common/taglibs.jsp & now I
have 7 errors!

sweeet.

Apparently, src/main/webapp/common/menu.jsp is looking for
"/common/taglibs.jsp".

I changed this line from "<%@ include file="/common/taglibs.jsp"%>" to

<%@ include file="taglibs.jsp"%> and copied a taglibs.jsp into the same
folder.


6 errors. 4 invalid character constants, and 2 'the markup in the document
following the 
root element must be well-formed'.

What happens at this point, if I run mvn jetty:run-war, I wonder? Have I
burned my house 
down? No, the site appears to run fine.

Have I done right? Say, that I want no errors in Eclipse. The remaining
errors are:

Invalid character constant in header.jsp this line:

if test="${pageContext.request.locale.language != 'en'}">
                                                                     --

That accounts for 5 errors, actually, because there are 5 header.jsp's:

target/war/work/appfuse-struts-2.0.2/common/header.jsp 
target/war/work/appfuse-web-common-2.0.2/common/header.jsp  
target/work/appfuse-struts-2.0.2/common/header.jsp
target/work/appfuse-web-common-2.0.2/common/header.jsp
target/tomcat5x/container/webapps/myproject2-1.0-SNAPSHOT/common/header.jsp

& BTW, somehow, I'm sporting 7 errors. I thought I had it down to 6.
Anyways..
the last two errors are 'The markup in the document following the root
element
must be well-formed'. This happens in login.xml. There are two of those:

Deployment Descriptor: appfuse/Java Resources/src/test/resources/login.xml
src/test/resources/login.xml

Comments? Are these the same 7 errors mentioned in
http://issues.appfuse.org/browse/APF-649,

"There are 7 errors when using eclipse for a webapp."?





                                             

DanLanglois wrote:
> 
> Doesn't quite work. When I import the project into Eclipse, I get 223
> errors.
> 
> The first of which, is:
> 
> Description   Resource        Path    Location        Type
> Cannot find the tag library descriptor for "/struts-tags"     
> error.jsp     
> myproject2/target/war/work/appfuse-struts-2.0.2       
> line 3        
> JSP Problem
> 
> There are 3 of these 'Cannot find the tag library descriptor' etc. for
> error.jsp.
> & 11 for taglibs.jsp.
> 
> etc. Lots of .jsp resources, generating errors. 
> 
> I've seen the traffic about setting the classpath variable M2_REPO. This
> should be
> 
> "You should be able to do this by executing the command: mvn
> -Declipse.workspace=C:\Source eclipse:add-maven-repo."
> http://appfuse.org/display/APF/Eclipse
> 
> There is no mention of this at
> http://appfuse.org/display/APF/AppFuse+QuickStart, BTW.
> 
> So, I run that..& when I open Eclipse I see a mere, uh, 223 errors. no
> change. 
> 
> I also have seen this:
> 
> "The Eclipse project is likely to show multiple errors which are in fact
> not really errors. See APF-649"
> http://appfuse.org/display/APF/Eclipse
> 
> Again, this is not mentioned at
> http://appfuse.org/display/APF/AppFuse+QuickStart.
> 
> BTW. I also have these errors:
> 
> Description   Resource        Path    Location        Type
> Unbound classpath variable: 'M2_REPO/xmlbeans/xbean/2.2.0/xbean-2.2.0.jar'
> in project 'myproject2'       myproject2              
> Build path    
> Build Path Problem
> 
> So, back at http://appfuse.org/display/APF/Eclipse, I notice this:
> 
> 'If that doesn't work, can also define a new classpath variable inside
> Eclipse.'
> 
> I'm game. & this 'works'. Now I only have 19 errors. 2 are xml errors and
> the rest, jsp errors. 
> 
> I think something should be put into the QuickStart document, warning of
> this kind of experience w/Eclipse.
> My understanding of: http://issues.appfuse.org/browse/APF-649 is that
> 'only' 19 errors is pretty great & time to Leave Well Enough Alone.
> 
> Comments?
> 

-- 
View this message in context: 
http://www.nabble.com/mvn-install-eclipse%3Aeclipse-tp23239523s2369p23239837.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to