shailendra333 / webutilities

Automatically exported from code.google.com/p/webutilities
0 stars 0 forks source link

Compression Filter does not work with Java 1.5 #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
During the build process (Java/Tomcat), receive the following error:

ERROR - Exception starting filter compressionFilter
java.lang.UnsupportedClassVersionError: unsupported classversion 50.0   at 
java.lang.ClassLoader.defineClass1(Native Method)   at 
java.lang.ClassLoader.defineClass(ClassLoader.java:620) at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at 
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader
.java:1847) at 
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:87
3)  at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:13
26) at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:12
05) at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConf
ig.java:207)    at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterC
onfig.java:302) at 
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.
java:78)    at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635) 
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)    at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) 
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)  at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)   at 
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)   at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)  at 
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1220)  at 
sun.reflect.GeneratedMethodAccessor1627.invoke(Unknown Source)  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)   at java.lang.reflect.Method.invoke(Method.java:585) at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:457)   at 
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)   at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerI
nterceptor.java:815)    at 
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)  at 
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1397)  at 
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:637)  at 
org.apache.catalina.manager.ManagerServlet.doPut(ManagerServlet.java:424)   at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:713)    at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:269)

Original issue reported on code.google.com by vandervo...@gmail.com on 28 Nov 2012 at 2:55

GoogleCodeExporter commented 9 years ago
Workaround, see if you can build it your self for now by checking it out from 
github. https://github.com/rpatil26/webutilities

Original comment by rr.patil...@gmail.com on 22 Feb 2013 at 6:58

GoogleCodeExporter commented 9 years ago
Issue in details and possible fixes/workarounds are suggested here. I will see 
in future if I can distribute version built using JDK 1.5+ 
http://javarevisited.blogspot.in/2011/07/javalangunsupportedclassversionerror.ht
ml

Original comment by rr.patil...@gmail.com on 22 Feb 2013 at 8:27

GoogleCodeExporter commented 9 years ago

Original comment by rr.patil...@gmail.com on 22 Feb 2013 at 8:27

GoogleCodeExporter commented 9 years ago
Issue 39 has been merged into this issue.

Original comment by rr.patil...@gmail.com on 22 Feb 2013 at 8:36

GoogleCodeExporter commented 9 years ago
Going ahead with java 6+ support. 1.5 and lower won't be supported.

Original comment by rr.patil...@gmail.com on 6 May 2014 at 11:46