-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Stephen,

On 6/21/13 11:10 AM, Stephen More wrote:
> My web application has been working great with jdk1.6. At this
> point I am trying to upgrade to jdk1.7, when I deploy my war tomcat
> is throwing:
> 
> Caused by: java.lang.RuntimeException: Illegal type for
> StackMapType: -4 at 
> org.apache.tomcat.util.bcel.classfile.StackMapType.setType(StackMapType.java:73)

I
> 
don't get this exception when I launch my webapp, but I do not have
any annotations, etc.

Do you know which JAR is failing?

I would expect this kind of thing if you used a current BCEL against a
newer .class file generated for example by Java 8, which BCEL might
not yet support (or at least the version Tomcat uses).

Can you enable debug logging and see if you can see which JAR or
.class file is being scanned when this occurs?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRxHvWAAoJEBzwKT+lPKRY5eUP/jOyYWJbZ0lL7Izd4v2lrWy6
3Wxz/eXiHNY/aynp8eeICWq1B+clcJK5cRhLt+3y1V5FZwj8+Pei13JBNjeCOosp
5GzdRnZ8+siTcHVVHUaqUykitOjiEbWPoWwOzS0Z+qdGDWDb+zRo80t4fYAA3VCb
v+PQTHwSDRrmFshjQplCxkkhyMIaacGOfF221ssHQC6LkfMVtUMnZaHWRjPEotd9
5djYmcKGQhrBMmgaIAS3agwGbacs4Of+nY1Kz5dWTyNpnS7cJKWwKHMAIXyzqq+Z
e8zqYM4LkodIlZPGtOgRgZV1/AQ3yO31TQgJ4O2YCXp829XefIz5/JedU6wiIZI9
Phm0gkl22a/AGKm3Dljr24V/lTKZy8wl7CoK/sCF3WvMBXyhletn0YS71v1WcI6K
msdyT1KvKUqYJ519gs7GU48CSYe01DCxpH+7rOW4gYQsRgAXcB11krrm7o3CuIE+
NUM0YQz/0uhpUc9Xm6zq2je8J0gXWcw+KjbwV3HCvkVrj5jSqnH2hleXY94SEW/p
ccG0opRaPj8s5v0N1EhoS/uecfmlrhDBFNE0YSp5lvq2NW0WDkffs7otKqVu8XV9
YEShan5Y7wCNMlnzJG6L9IZ6uWzjf0W66SJ5I1IQ6JRsO4hrOF0lC0VTXgVGFtoF
1wAAGW3l8u/otEhi3C1u
=GnPP
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to