When you upgrade the SDK, make sure that the SDK under Google/App
Engine in Preferences is also changed.  If possible, remove the old
SDK in Preferences.  And check to make sure that you have the latest
jar (1.2.5) in the lib folder.  When you upgrade, it should already
replace the old SDK jar to the new one.

On Sep 10, 10:25 pm, fat bold cyclop <fat.bold.cyc...@gmail.com>
wrote:
> I wanted to try new features of GAE so I updated the eclipse plugin
> (which came with new SDK).
>
> I have a "clean" (meaning fresh from svn, working) project. I change
> the SDK version to 1.2.5.
> I run the project on my dev server and everything is fine.
> Now I try to deploy to the server and get an error as shown below:
>
> Creating staging directory
> Scanning for jsp files.
> Compiling jsp files.
> Compiling java files.
> Scanning files on local disk.
> Scanned 250 files.
> Scanned 500 files.
> Initiating update.
> java.io.IOException: Error posting to 
> URL:http://appengine.google.com/api/appversion/create?app_id=shogi-server...
> 400 Bad Request
> Error when loading application configuration:
> Unable to assign value 'userPreferences\.jsp' to attribute 'url':
> Value 'userPreferences\.jsp' does not match expression '^(?!\^)/|\.|(\
> (.).*(?!\$).$'
>
> (The same thing when deploying with appcfg from command line.)
>
> Switching back to SDK 1.2.1 makes it possible to deploy the app.
>
> Any suggestions appreciated.
>
> Regards,
> fat bold cyclop
>
> P.S.
> My configuration is:
> eclipse.buildId=I20090611-1540
> java.version=1.5.0_20
> java.vendor=Apple Inc.
> BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa
> Framework arguments:  -product org.eclipse.epp.package.jee.product -
> keyring /Users/fbc/.eclipse_keyring -showlocation
> Command-line arguments:  -os macosx -ws cocoa -arch x86 -product
> org.eclipse.epp.package.jee.product -keyring /Users/
> fbc/.eclipse_keyring -showlocation
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to