On Wednesday, November 19, 2014 12:50:17 AM UTC-6, Vinny P wrote:
>
>
> On Tue, Nov 18, 2014 at 1:51 PM, Chad Vincent <ccrvi...@gmail.com 
> <javascript:>> wrote:
>
>>
>>    1. Debugging/running locally causes java.lang.NoClassDefFoundError: 
>>    javax/mail/MessagingException in the console output.
>>       1. I have tried with javax.mail dependency included, but I'm 90% 
>>       sure since it is in the GAE SDK I should not have it explicitly listed.
>>    
>>
>
> That's really strange. You're right; javax.mail.MessagingException should 
> be shipping with the artifact appengine-api-1.0-sdk. I checked the Maven 
> JAR, it looks perfectly OK. If you include the javax.mail-api dependency, 
> does your application compile successfully?
>
> It compiles fine either way, does not launch in devmode/Jetty either way. 
 Did a "clean package" and it compiles with the following error:

[INFO] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 01:36 min
[INFO] Finished at: 2014-11-19T09:42:02-06:00
[INFO] Final Memory: 29M/725M
[INFO] 
------------------------------------------------------------------------
FATAL ERROR in native method: JDWP on getting class status, 
jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005c222598, 
pid=6916, tid=2704
#
# JRE version: 7.0_11-b21


 

> Go into project properties > Maven and see if there's a checkbox marked 
> "Resolve dependencies from workspace." If it's checked, can you uncheck it 
> and rebuild your app?
>
> No change...
 

>  
> On Tue, Nov 18, 2014 at 1:51 PM, Chad Vincent <ccrvi...@gmail.com 
> <javascript:>> wrote:
>
>>
>>    1. There's no good comparison/how-to for this that includes things 
>>    like .gitignore suggestions.  What do I need to have in the repo for it 
>> to 
>>    work properly?
>>
>>
> .gitignore is used less for *making-the-app-work-properly* and more for
> * i-don't-want-secret-stuff-deployed-into-production-or-saved-into-git*.  
> For instance, you might have documentation, config files, testing folders, 
> etc in your app folder and you don't want to store them into git/deploy 
> into live. .gitignore is there to block these files from being recorded. 
>
> I'm much better with Git than Maven.  ;)

I'm more worried about failing to commit something that is necessary.  I 
try to keep the repo fairly clean, as one project member is remote and 
occasionally has to pull while tethering.

Don't stress about .gitignore too much - the vast majority of the time, 
> you'll probably accidentally commit a useless file like Thumbs.db. This 
> should only be a real concern if you need to block secret files from ending 
> up in the repo. And if you absolutely must have suggestions about how your 
> gitignore file should look, see here for example templates: 
> https://github.com/github/gitignore
>
>
I always forget the templates are there.  Thanks! 

>
> As for your GWT question: it's been a long time since I've played with 
> GWT, and so this is probably way off base and hilariously wrong, but I 
> believe the GWT properties file goes in src/main/resources.
>
> I'll try them there.  Thanks!

 

> -----------------
> -Vinny P
> Technology & Media Consultant
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>  
>

-- 
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/d/optout.

Reply via email to