Re: [google-appengine] maven + guice + appengine

2013-08-07 Thread Rafael Sanches
Jon,

I usually solve these problems by doing: $ mvn dependency:tree

that way you check who's else is including the ASM package. In your case
it's weird that it goes all the way to the repackage garbage.

thanks
rafa


On Wed, Aug 7, 2013 at 7:38 AM, Jon Stevens  wrote:

> It does seem like that indeed and your suggestion was a good one (I had
> tried it already). I think that the classpath is getting munged by the
> maven plugin somehow and that is what is messing things up.
>
>
> On Wednesday, August 7, 2013 12:24:31 AM UTC-7, Rafael Sanches wrote:
>
>> from your gist it seems that guice is getting the wrong asm package:
>> com.google.appengine.**repackaged.org.objectweb.asm.**ClassReader
>>
>>
>> On Tue, Aug 6, 2013 at 10:10 PM, Jon Stevens  wrote:
>>
>>> Thanks for the suggestion, but it didn't help.
>>>
>>> I've boiled this down to a super simple war project and filed an issue.
>>> Hopefully someone smarter than I will take a look into it. As far as I can
>>> tell, using Guice is totally broken with the maven appengine plugin.
>>>
>>> https://code.google.com/p/**appengine-maven-plugin/issues/**detail?id=35
>>>
>>> jon
>>>
>>>
>>> On Monday, August 5, 2013 1:00:44 PM UTC-7, Rafael Sanches wrote:
>>>
 try to add this:

 
 org.ow2.asm
 asm
 4.0
 

 also, this type of question is perfect for stackoverflow. You can tag
 your post with "appengine-maven-plugin".

 thanks
 rafa


 On Sun, Aug 4, 2013 at 6:51 PM, Jon Stevens  wrote:

> Hi all,
>
> I've got a pretty simple webapp that I'm trying switch to maven and
> get running with the mvn appengine:devserver command. I'm getting an odd
> stack trace during startup that seems centered around my use of Guice. 
> I've
> done all the requisite searching, but have come up empty handed.
>
> This app worked fine before just running it in the Google Plugin for
> Eclipse and a simple ant based build.
>
> Instead of posting the entire stack trace here, I've created a gist
> for it: 
> https://gist.github.com/**lo**okfirst/af1a3d11c5800bdcf8b9
>
> Any ideas?
>
> jon
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to google-appengi...@**googlegroups**.com.
> To post to this group, send email to google-a...@googlegroups.**com.
>
> Visit this group at http://groups.google.com/**group**
> /google-appengine .
> For more options, visit 
> https://groups.google.com/**grou**ps/opt_out
> .
>
>
>

  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to google-appengi...@**googlegroups.com.
>>> To post to this group, send email to google-a...@googlegroups.**com.
>>> Visit this group at 
>>> http://groups.google.com/**group/google-appengine
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out
>>> .
>>>
>>>
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] maven + guice + appengine

2013-08-07 Thread Jon Stevens
It does seem like that indeed and your suggestion was a good one (I had 
tried it already). I think that the classpath is getting munged by the 
maven plugin somehow and that is what is messing things up.

On Wednesday, August 7, 2013 12:24:31 AM UTC-7, Rafael Sanches wrote:
>
> from your gist it seems that guice is getting the wrong asm package: 
> com.google.appengine.repackaged.org.objectweb.asm.ClassReader
>
>
> On Tue, Aug 6, 2013 at 10:10 PM, Jon Stevens 
> > wrote:
>
>> Thanks for the suggestion, but it didn't help.
>>
>> I've boiled this down to a super simple war project and filed an issue. 
>> Hopefully someone smarter than I will take a look into it. As far as I can 
>> tell, using Guice is totally broken with the maven appengine plugin.
>>
>> https://code.google.com/p/appengine-maven-plugin/issues/detail?id=35
>>
>> jon
>>
>>
>> On Monday, August 5, 2013 1:00:44 PM UTC-7, Rafael Sanches wrote:
>>
>>> try to add this: 
>>>
>>> 
>>> org.ow2.asm
>>> asm
>>> 4.0
>>>
>>>
>>> also, this type of question is perfect for stackoverflow. You can tag 
>>> your post with "appengine-maven-plugin". 
>>>
>>> thanks
>>> rafa
>>>
>>>
>>> On Sun, Aug 4, 2013 at 6:51 PM, Jon Stevens  wrote:
>>>
 Hi all,

 I've got a pretty simple webapp that I'm trying switch to maven and get 
 running with the mvn appengine:devserver command. I'm getting an odd stack 
 trace during startup that seems centered around my use of Guice. I've done 
 all the requisite searching, but have come up empty handed.

 This app worked fine before just running it in the Google Plugin for 
 Eclipse and a simple ant based build.

 Instead of posting the entire stack trace here, I've created a gist for 
 it: 
 https://gist.github.com/**lookfirst/af1a3d11c5800bdcf8b9

 Any ideas?

 jon

  -- 
 You received this message because you are subscribed to the Google 
 Groups "Google App Engine" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to google-appengi...@**googlegroups.com.
 To post to this group, send email to google-a...@googlegroups.**com.

 Visit this group at 
 http://groups.google.com/**group/google-appengine
 .
 For more options, visit 
 https://groups.google.com/**groups/opt_out
 .
  
  

>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com .
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] maven + guice + appengine

2013-08-07 Thread Rafael
from your gist it seems that guice is getting the wrong asm package:
com.google.appengine.repackaged.org.objectweb.asm.ClassReader


On Tue, Aug 6, 2013 at 10:10 PM, Jon Stevens  wrote:

> Thanks for the suggestion, but it didn't help.
>
> I've boiled this down to a super simple war project and filed an issue.
> Hopefully someone smarter than I will take a look into it. As far as I can
> tell, using Guice is totally broken with the maven appengine plugin.
>
> https://code.google.com/p/appengine-maven-plugin/issues/detail?id=35
>
> jon
>
>
> On Monday, August 5, 2013 1:00:44 PM UTC-7, Rafael Sanches wrote:
>
>> try to add this:
>>
>> 
>> org.ow2.asm
>> asm
>> 4.0
>> 
>>
>> also, this type of question is perfect for stackoverflow. You can tag
>> your post with "appengine-maven-plugin".
>>
>> thanks
>> rafa
>>
>>
>> On Sun, Aug 4, 2013 at 6:51 PM, Jon Stevens  wrote:
>>
>>> Hi all,
>>>
>>> I've got a pretty simple webapp that I'm trying switch to maven and get
>>> running with the mvn appengine:devserver command. I'm getting an odd stack
>>> trace during startup that seems centered around my use of Guice. I've done
>>> all the requisite searching, but have come up empty handed.
>>>
>>> This app worked fine before just running it in the Google Plugin for
>>> Eclipse and a simple ant based build.
>>>
>>> Instead of posting the entire stack trace here, I've created a gist for
>>> it: 
>>> https://gist.github.com/**lookfirst/af1a3d11c5800bdcf8b9
>>>
>>> Any ideas?
>>>
>>> jon
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to google-appengi...@**googlegroups.com.
>>> To post to this group, send email to google-a...@googlegroups.**com.
>>>
>>> Visit this group at 
>>> http://groups.google.com/**group/google-appengine
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out
>>> .
>>>
>>>
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] maven + guice + appengine

2013-08-06 Thread Jon Stevens
Thanks for the suggestion, but it didn't help.

I've boiled this down to a super simple war project and filed an issue. 
Hopefully someone smarter than I will take a look into it. As far as I can 
tell, using Guice is totally broken with the maven appengine plugin.

https://code.google.com/p/appengine-maven-plugin/issues/detail?id=35

jon


On Monday, August 5, 2013 1:00:44 PM UTC-7, Rafael Sanches wrote:
>
> try to add this: 
>
> 
> org.ow2.asm
> asm
> 4.0
>
>
> also, this type of question is perfect for stackoverflow. You can tag your 
> post with "appengine-maven-plugin". 
>
> thanks
> rafa
>
>
> On Sun, Aug 4, 2013 at 6:51 PM, Jon Stevens 
> > wrote:
>
>> Hi all,
>>
>> I've got a pretty simple webapp that I'm trying switch to maven and get 
>> running with the mvn appengine:devserver command. I'm getting an odd stack 
>> trace during startup that seems centered around my use of Guice. I've done 
>> all the requisite searching, but have come up empty handed.
>>
>> This app worked fine before just running it in the Google Plugin for 
>> Eclipse and a simple ant based build.
>>
>> Instead of posting the entire stack trace here, I've created a gist for 
>> it: https://gist.github.com/lookfirst/af1a3d11c5800bdcf8b9
>>
>> Any ideas?
>>
>> jon
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com .
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] maven + guice + appengine

2013-08-05 Thread Rafael
try to add this:


org.ow2.asm
asm
4.0


also, this type of question is perfect for stackoverflow. You can tag your
post with "appengine-maven-plugin".

thanks
rafa


On Sun, Aug 4, 2013 at 6:51 PM, Jon Stevens  wrote:

> Hi all,
>
> I've got a pretty simple webapp that I'm trying switch to maven and get
> running with the mvn appengine:devserver command. I'm getting an odd stack
> trace during startup that seems centered around my use of Guice. I've done
> all the requisite searching, but have come up empty handed.
>
> This app worked fine before just running it in the Google Plugin for
> Eclipse and a simple ant based build.
>
> Instead of posting the entire stack trace here, I've created a gist for
> it: https://gist.github.com/lookfirst/af1a3d11c5800bdcf8b9
>
> Any ideas?
>
> jon
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] maven + guice + appengine

2013-08-04 Thread Jon Stevens
Hi all,

I've got a pretty simple webapp that I'm trying switch to maven and get 
running with the mvn appengine:devserver command. I'm getting an odd stack 
trace during startup that seems centered around my use of Guice. I've done 
all the requisite searching, but have come up empty handed.

This app worked fine before just running it in the Google Plugin for 
Eclipse and a simple ant based build.

Instead of posting the entire stack trace here, I've created a gist for 
it: https://gist.github.com/lookfirst/af1a3d11c5800bdcf8b9

Any ideas?

jon

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.