简体   繁体   中英

How do I resolve a ClassFormatException in Play Framework 1.2.4?

Trying to run a Play! 1.2.4 app on OSX Snow Leopard under Java 1.6.0_33 but keep hitting this error after the login screen :-

An unexpected error occured caused by exception ClassFormatError: Invalid index 95 in LocalVariableTable in class file net/sf/oval/guard/Guard

but the same code works absolutely fine under Windows 7 and Java 7 and on WinXP (sorry, Java version not known on that one).

Is this a file permissions error on my application's path, masqueraded as a Java error, or is there something else?

Fixed!

Removed Play Framework, downloaded a fresh copy and re-ran the app and it worked fine. Old copy was restored from a backup so something may have gone awry there, but it's all good now.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM