tangyong / struts2-osgi-plugin-glassfish

Using Struts2 OSGi plugin with GlassFish
1 stars 0 forks source link

Unresolved constraint in bundle MyOsgi [1]: Execution environment not supported: JavaSE-1.6 #6

Closed tangyong closed 11 years ago

tangyong commented 11 years ago

In jdk 7, while deploying demo into tomcat or glassfish, the following exception happened,

Unresolved constraint in bundle MyOsgi [1]: Execution environment not supported: JavaSE-1.6

So, needing to update MyOsgi bundle's Manifest.MF, deleting the following,

Bundle-RequiredExecutionEnvironment: JavaSE-1.6