faresd / appengine-maven-plugin

Automatically exported from code.google.com/p/appengine-maven-plugin
Apache License 2.0
0 stars 0 forks source link

doesn't work with eclipse #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Download attached super simple maven war project
2. cd into error-webapp folder
3. mvn appengine:devserver

What is the expected output?

A proper startup sequence.

What do you see instead?

weird stacktraces. something is wrong with using guice.
https://gist.github.com/lookfirst/4b8e54c02598dce903a9

What version of the product are you using? On what operating system?

appengine 1.8.2. JDK 1.7.0_25 (Oracle). OSX 10.8.3 mvn 3.0.5

Please provide any additional information below.

I'd love it if you could fix this.

Original issue reported on code.google.com by latch...@gmail.com on 7 Aug 2013 at 5:05

Attachments:

GoogleCodeExporter commented 8 years ago
Why do you think it i a maven plugin issue and not either an appserver issue, 
or an app issue using non permitted constructs?

Original comment by l...@google.com on 7 Aug 2013 at 2:56

GoogleCodeExporter commented 8 years ago
Ok, that is very odd. I studied the differences between your demo app in your 
source tree and mine. I then added the <repository> that you have in your pom 
and everything started working. I can no longer reproduce the issue.

Original comment by latch...@gmail.com on 8 Aug 2013 at 5:56

GoogleCodeExporter commented 8 years ago
Ok, I think I may have found the real issue... 

                    <webResources>
                        <resource>
                            <directory>${basedir}/src/main/webapp/WEB-INF</directory>
                            <filtering>true</filtering>
                            <targetPath>WEB-INF</targetPath>
                        </resource>
                    </webResources>

I think the filtering was mucking with WEB-INF/classes which would explain the 
crazy stack traces.

Sorry for the trouble.

Original comment by latch...@gmail.com on 8 Aug 2013 at 6:10

GoogleCodeExporter commented 8 years ago

Original comment by l...@google.com on 14 Jun 2014 at 4:55