Re: Unable to compile
ception(char,java.lang.String,int) in antlr.NoViableAltForCharException has been deprecated [javac] if ( _cnt41>=1 ) { break _loop41; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine());} [javac] ^ [javac] 27 errors [javac] 43 warnings [javac] BUILD FAILED: file:C:/Program Files/eclipse/workspace/jakarta-struts/build.xml:304: Compile failed; see the compiler error output for details. Total time: 5 seconds - Original Message - From: "Max Cooper" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, July 30, 2003 4:19 AM Subject: Re: Unable to compile > The "modified in the future" errors might be due to a change in your > system's clock or having the wrong time or wrong timezone offset in your > system settings. It looks like there might be other problems, but bad > modification times on files can definitely mess up a build so I would fix > that first. > > These things might help: > > 1. Make sure your system time is set correctly (to the actual current time). > Additionally, you may need to set your timezone offset, or at least make > sure that it is set correctly. > > 2. Run 'ant clean' and try the build again. If you are still getting > "modified in the future" errors, you might want to delete your project > directory (assuming you don't have local changes that haven't yet been > committed) and check everything out again. The build might work after that. > > If that doesn't work, your system settings are probably still messed up. > > -Max > > - Original Message - > From: <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Tuesday, July 29, 2003 7:26 PM > Subject: Fw: Unable to compile > > > > I am sorry for posting this question second time on this list. > > > > Earlier I posted this question before I subscribed to the list. So I am > > thinking that I may have missed if any one > > replied to this email. > > > > Now I am subscribed to the list. > > > > Thanks for help! > > > > > > - Original Message - > > From: <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, June 27, 2003 7:43 PM > > Subject: Unable to compile > > > > > > > Hi , > > > > > > I have recently downloaded the struts source distribution from CVS > > > using anonymous login. I have also downloaded all the required jar > > files > > > for the building the Struts source. I have modified the sample > > > build.properties file to point to right locations for the required jar > > > files. > > > > > > I am using Eclipse 2.1 and in built Ant plugin to build. > > > > > > I am getting following errors when I try to build. > > > > > > What am I missing? > > > > > > Thanks a lot for the help! > > > > > > prepare.library: > > > > > > [copy] Warning: struts-config_1_2.dtd modified in the future. > > > > > > [copy] Copying 1 file to C:\Program > > > > > Files\eclipse\workspace\jakarta-struts\target\library\classes\org\apache > > > \struts\resources > > > > > > [copy] Copying 1 file to C:\Program > > > Files\eclipse\workspace\jakarta-struts\target\library > > > > > > [copy] Copying 1 file to C:\Program > > > Files\eclipse\workspace\jakarta-struts\target\library > > > > > > [copy] Copying 1 file to C:\Program > > > Files\eclipse\workspace\jakarta-struts\target\library > > > > > > [copy] Copying 1 file to C:\Program > > > Files\eclipse\workspace\jakarta-struts\target\library > > > > > > [copy] Copying 1 file to C:\Program > > > Files\eclipse\workspace\jakarta-struts\target\library > > > > > > [copy] Copying 1 file to C:\Program > > > Files\eclipse\workspace\jakarta-struts\target\library > > > > > > [copy] Copying 1 file to C:\Program > > > Files\eclipse\workspace\jakarta-struts\target\library > > > > > > [copy] Copying 1 file to C:\Program > > > Files\eclipse\workspace\jakarta-struts\target\library > > > > > > [copy] Copying 1 file to C:\Program > > > Files\eclipse\workspace\jakarta-struts\target\library > > > > > > compile.library: > > > > > > [javac] Warning: org\apache\struts\action\Action.java modified in the > > > future. > > > > > > [javac] Warning: org\apache\struts\action\Action
RE: Unable to compile
If you have these errors... > [javac] file org\xml\sax\helpers\DefaultHandler.class not found Make sure you have xerces.jar in your classpath Ignore the time warnings or set your clock. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 10:26 PM To: Struts Users Mailing List Subject: Fw: Unable to compile I am sorry for posting this question second time on this list. Earlier I posted this question before I subscribed to the list. So I am thinking that I may have missed if any one replied to this email. Now I am subscribed to the list. Thanks for help! - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 27, 2003 7:43 PM Subject: Unable to compile > Hi , > > I have recently downloaded the struts source distribution from CVS > using anonymous login. I have also downloaded all the required jar files > for the building the Struts source. I have modified the sample > build.properties file to point to right locations for the required jar > files. > > I am using Eclipse 2.1 and in built Ant plugin to build. > > I am getting following errors when I try to build. > > What am I missing? > > Thanks a lot for the help! > > prepare.library: > > [copy] Warning: struts-config_1_2.dtd modified in the future. > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library\classes\org\apache > \struts\resources > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > compile.library: > > [javac] Warning: org\apache\struts\action\Action.java modified in the > future. > > [javac] Warning: org\apache\struts\action\ActionMessage.java modified in > the future. > > [javac] Warning: org\apache\struts\action\ActionResources.properties > modified in the future. > > [javac] Warning: org\apache\struts\action\ActionServlet.java modified in > the future. > > [javac] Warning: org\apache\struts\action\ActionServletWrapper.java > modified in the future. > > [javac] Warning: org\apache\struts\action\ExceptionHandler.java modified > in the future. > > [javac] Warning: org\apache\struts\action\RequestProcessor.java modified > in the future. > > [javac] Warning: org\apache\struts\actions\DispatchAction.java modified > in the future. > > [javac] Warning: org\apache\struts\actions\ForwardAction.java modified > in the future. > > [javac] Warning: org\apache\struts\actions\IncludeAction.java modified > in the future. > > [javac] Warning: org\apache\struts\actions\LocalStrings.properties > modified in the future. > > [javac] Warning: org\apache\struts\actions\LookupDispatchAction.java > modified in the future. > > [javac] Warning: org\apache\struts\actions\SwitchAction.java modified in > the future. > > [javac] Warning: org\apache\struts\config\ActionConfig.java modified in > the future. > > [javac] Warning: org\apache\struts\config\ConfigHelper.java modified in > the future. > > [javac] Warning: org\apache\struts\config\ConfigHelperInterface.java > modified in the future. > > [javac] Warning: org\apache\struts\config\ControllerConfig.java modified > in the future. > > [javac] Warning: org\apache\struts\config\impl\ModuleConfigImpl.java > modified in the future. > > [javac] Warning: org\apache\struts\config\ModuleConfigFactory.java > modified in the future. > > [javac] Warning: org\apache\struts\Globals.java modified in the future. > > [javac] Warning: org\apache\struts\taglib\bean\CookieTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\DefineTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\HeaderTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\IncludeTag.java modified > in the future. > > [javac] Warning: or
Re: Unable to compile
The "modified in the future" errors might be due to a change in your system's clock or having the wrong time or wrong timezone offset in your system settings. It looks like there might be other problems, but bad modification times on files can definitely mess up a build so I would fix that first. These things might help: 1. Make sure your system time is set correctly (to the actual current time). Additionally, you may need to set your timezone offset, or at least make sure that it is set correctly. 2. Run 'ant clean' and try the build again. If you are still getting "modified in the future" errors, you might want to delete your project directory (assuming you don't have local changes that haven't yet been committed) and check everything out again. The build might work after that. If that doesn't work, your system settings are probably still messed up. -Max - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, July 29, 2003 7:26 PM Subject: Fw: Unable to compile > I am sorry for posting this question second time on this list. > > Earlier I posted this question before I subscribed to the list. So I am > thinking that I may have missed if any one > replied to this email. > > Now I am subscribed to the list. > > Thanks for help! > > > - Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, June 27, 2003 7:43 PM > Subject: Unable to compile > > > > Hi , > > > > I have recently downloaded the struts source distribution from CVS > > using anonymous login. I have also downloaded all the required jar > files > > for the building the Struts source. I have modified the sample > > build.properties file to point to right locations for the required jar > > files. > > > > I am using Eclipse 2.1 and in built Ant plugin to build. > > > > I am getting following errors when I try to build. > > > > What am I missing? > > > > Thanks a lot for the help! > > > > prepare.library: > > > > [copy] Warning: struts-config_1_2.dtd modified in the future. > > > > [copy] Copying 1 file to C:\Program > > > Files\eclipse\workspace\jakarta-struts\target\library\classes\org\apache > > \struts\resources > > > > [copy] Copying 1 file to C:\Program > > Files\eclipse\workspace\jakarta-struts\target\library > > > > [copy] Copying 1 file to C:\Program > > Files\eclipse\workspace\jakarta-struts\target\library > > > > [copy] Copying 1 file to C:\Program > > Files\eclipse\workspace\jakarta-struts\target\library > > > > [copy] Copying 1 file to C:\Program > > Files\eclipse\workspace\jakarta-struts\target\library > > > > [copy] Copying 1 file to C:\Program > > Files\eclipse\workspace\jakarta-struts\target\library > > > > [copy] Copying 1 file to C:\Program > > Files\eclipse\workspace\jakarta-struts\target\library > > > > [copy] Copying 1 file to C:\Program > > Files\eclipse\workspace\jakarta-struts\target\library > > > > [copy] Copying 1 file to C:\Program > > Files\eclipse\workspace\jakarta-struts\target\library > > > > [copy] Copying 1 file to C:\Program > > Files\eclipse\workspace\jakarta-struts\target\library > > > > compile.library: > > > > [javac] Warning: org\apache\struts\action\Action.java modified in the > > future. > > > > [javac] Warning: org\apache\struts\action\ActionMessage.java modified > in > > the future. > > > > [javac] Warning: org\apache\struts\action\ActionResources.properties > > modified in the future. > > > > [javac] Warning: org\apache\struts\action\ActionServlet.java modified > in > > the future. > > > > [javac] Warning: org\apache\struts\action\ActionServletWrapper.java > > modified in the future. > > > > [javac] Warning: org\apache\struts\action\ExceptionHandler.java > modified > > in the future. > > > > [javac] Warning: org\apache\struts\action\RequestProcessor.java > modified > > in the future. > > > > [javac] Warning: org\apache\struts\actions\DispatchAction.java > modified > > in the future. > > > > [javac] Warning: org\apache\struts\actions\ForwardAction.java modified > > in the future. > > > > [javac] Warning: org\apache\struts\actions\IncludeAction.java modified > > in the future. > > > > [javac] Warning: org\apache\struts\actions\LocalStrings.properties > > modified in the future. > > > > [javac] Warning: org\
Fw: Unable to compile
I am sorry for posting this question second time on this list. Earlier I posted this question before I subscribed to the list. So I am thinking that I may have missed if any one replied to this email. Now I am subscribed to the list. Thanks for help! - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 27, 2003 7:43 PM Subject: Unable to compile > Hi , > > I have recently downloaded the struts source distribution from CVS > using anonymous login. I have also downloaded all the required jar files > for the building the Struts source. I have modified the sample > build.properties file to point to right locations for the required jar > files. > > I am using Eclipse 2.1 and in built Ant plugin to build. > > I am getting following errors when I try to build. > > What am I missing? > > Thanks a lot for the help! > > prepare.library: > > [copy] Warning: struts-config_1_2.dtd modified in the future. > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library\classes\org\apache > \struts\resources > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > [copy] Copying 1 file to C:\Program > Files\eclipse\workspace\jakarta-struts\target\library > > compile.library: > > [javac] Warning: org\apache\struts\action\Action.java modified in the > future. > > [javac] Warning: org\apache\struts\action\ActionMessage.java modified in > the future. > > [javac] Warning: org\apache\struts\action\ActionResources.properties > modified in the future. > > [javac] Warning: org\apache\struts\action\ActionServlet.java modified in > the future. > > [javac] Warning: org\apache\struts\action\ActionServletWrapper.java > modified in the future. > > [javac] Warning: org\apache\struts\action\ExceptionHandler.java modified > in the future. > > [javac] Warning: org\apache\struts\action\RequestProcessor.java modified > in the future. > > [javac] Warning: org\apache\struts\actions\DispatchAction.java modified > in the future. > > [javac] Warning: org\apache\struts\actions\ForwardAction.java modified > in the future. > > [javac] Warning: org\apache\struts\actions\IncludeAction.java modified > in the future. > > [javac] Warning: org\apache\struts\actions\LocalStrings.properties > modified in the future. > > [javac] Warning: org\apache\struts\actions\LookupDispatchAction.java > modified in the future. > > [javac] Warning: org\apache\struts\actions\SwitchAction.java modified in > the future. > > [javac] Warning: org\apache\struts\config\ActionConfig.java modified in > the future. > > [javac] Warning: org\apache\struts\config\ConfigHelper.java modified in > the future. > > [javac] Warning: org\apache\struts\config\ConfigHelperInterface.java > modified in the future. > > [javac] Warning: org\apache\struts\config\ControllerConfig.java modified > in the future. > > [javac] Warning: org\apache\struts\config\impl\ModuleConfigImpl.java > modified in the future. > > [javac] Warning: org\apache\struts\config\ModuleConfigFactory.java > modified in the future. > > [javac] Warning: org\apache\struts\Globals.java modified in the future. > > [javac] Warning: org\apache\struts\taglib\bean\CookieTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\DefineTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\HeaderTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\IncludeTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\MessageTag.java modified > in the future. > > [javac] Warning: org\apache\struts\taglib\bean\package.html modified in > the future. > > [javac] Warning: org\apache\struts\taglib\bean\PageTag.java modified in > the future. > > [javac] Warning: org\apache\struts\taglib\bean\ParameterTag.java > modified in the future.
RE: Unable to compile class (The major.minor version '48.0' is too recent for this tool to understand)
I got this error with Jbuilder 5.0 when I switched to java 1.4. The java 1.4 files are not compatable with the compiler. There is a fix somewhere on the net. Type the error into google and you can get it (if your problem is with Jbuilder 5.0) > -Original Message- > From: vze49jqg [mailto:vze49jqg@;verizon.net] > Sent: Sunday, November 03, 2002 9:07 AM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: Re: Unable to compile class (The major.minor version '48.0' is > too recent for this tool to understand) > > > This is a class 'NOT FOUND' Error. > check your classpath settings. > > Try getting stable version again. > > > Regards > Gopal > > - Original Message - > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, November 02, 2002 9:57 AM > Subject: Unable to compile class (The major.minor version '48.0' is too > recent for this tool to understand) > > > I'm trying to start up the struts-example application and I'm > receiving the > following compilation error when I go to > http://localhost:8080/struts-example > > Has anyone had this error before? I can't seem to find a solution for it > anywhere. > > - Billy - > > > > org.apache.jasper.JasperException: Unable to compile class for JSPerror: > Invalid class file format in > C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor > version '48.0' is too recent for this tool to understand. > > C:\Program Files\Apache Tomcat > 4.0\work\localhost\struts-example\index$jsp.java:0: Class java.lang.Object > not found in class javax.servlet.GenericServlet. > package org.apache.jsp; > ^ > 2 errors > > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284) > at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546) > at > org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNeces > sary(JspSe > rvlet.java:177) > at > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Jsp > Servlet.ja > va:189) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(A > pplication > FilterChain.java:247) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati > onFilterCh > ain.java:193) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapp > erValve.ja > va:243) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel > ine.java:5 > 66) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline. > java:472) > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardConte > xtValve.ja > va:201) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel > ine.java:5 > 66) > at > org.apache.catalina.valves.CertificatesValve.invoke(CertificatesVa > lve.java:2 > 46) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel > ine.java:5 > 64) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline. > java:472) > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValv > e.java:164 > ) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel > ine.java:5 > 66) > at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispat > cherValve. > java:170) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel > ine.java:5 > 64) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValv > e.java:170 > ) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel > ine.java:5 > 64) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel > ine.java:5 > 64) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline. > java:472) > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngine > Valve.java > :163) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel > ine.java:5 > 66) > at > org.apach
Re: Unable to compile class (The major.minor version '48.0' is too recent for this tool to understand)
This is a class 'NOT FOUND' Error. check your classpath settings. Try getting stable version again. Regards Gopal - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 02, 2002 9:57 AM Subject: Unable to compile class (The major.minor version '48.0' is too recent for this tool to understand) I'm trying to start up the struts-example application and I'm receiving the following compilation error when I go to http://localhost:8080/struts-example Has anyone had this error before? I can't seem to find a solution for it anywhere. - Billy - org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. C:\Program Files\Apache Tomcat 4.0\work\localhost\struts-example\index$jsp.java:0: Class java.lang.Object not found in class javax.servlet.GenericServlet. package org.apache.jsp; ^ 2 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1011) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106 ) at java.lang.Thread.run(Thread.java:536) mail2web - Check your email from the web at http://mail2web.com/ . -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>
Unable to compile class (The major.minor version '48.0' is too recent for this tool to understand)
I'm trying to start up the struts-example application and I'm receiving the following compilation error when I go to http://localhost:8080/struts-example Has anyone had this error before? I can't seem to find a solution for it anywhere. - Billy - org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. C:\Program Files\Apache Tomcat 4.0\work\localhost\struts-example\index$jsp.java:0: Class java.lang.Object not found in class javax.servlet.GenericServlet. package org.apache.jsp; ^ 2 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1011) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106 ) at java.lang.Thread.run(Thread.java:536) mail2web - Check your email from the web at http://mail2web.com/ . -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>