Unable to load class for JSP(在线等高手) [问题点数:40分]

Bbs1
本版专家分:0
结帖率 0%
Bbs1
本版专家分:26
Bbs6
本版专家分:7122
Bbs1
本版专家分:0
Bbs1
本版专家分:0
Bbs6
本版专家分:7122
Bbs1
本版专家分:0
Unable to load class for JSP 求救
一个SSH项目,在本地上运行一点问题都没有rn上传到服务器上后运行就会出现如下的错误,怎么回事呢?急急急!!!<em>在线</em>等...rnexception rnrnorg.apache.jasper.JasperException: <em>Unable</em> to <em>load</em> <em>class</em> for <em>JSP</em>rn org.apache.jasper.JspCompilationContext.<em>load</em>(JspCompilationContext.java:591)rn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:137)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn cn.jsprun.filter.FileCaptureFilter.doFilter(FileCaptureFilter.java:43)rn cn.jsprun.filter.OnlineFilter.doFilter(OnlineFilter.java:191)rn cn.jsprun.filter.GZIPFilter.doFilter(GZIPFilter.java:38)rn cn.jsprun.filter.EncodingFilter.doFilter(EncodingFilter.java:31)rnrnrnroot cause rnrnjava.lang.ClassNotFoundException: org.apache.jsp.index_jsprn java.net.URLClassLoader$1.run(URLClassLoader.java:200)rn java.security.AccessController.doPrivileged(Native Method)rn java.net.URLClassLoader.findClass(URLClassLoader.java:188)rn org.apache.jasper.servlet.JasperLoader.<em>load</em>Class(JasperLoader.java:158)rn org.apache.jasper.servlet.JasperLoader.<em>load</em>Class(JasperLoader.java:71)rn org.apache.jasper.JspCompilationContext.<em>load</em>(JspCompilationContext.java:589)rn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:137)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn cn.jsprun.filter.FileCaptureFilter.doFilter(FileCaptureFilter.java:43)rn cn.jsprun.filter.OnlineFilter.doFilter(OnlineFilter.java:191)rn cn.jsprun.filter.GZIPFilter.doFilter(GZIPFilter.java:38)rn cn.jsprun.filter.EncodingFilter.doFilter(EncodingFilter.java:31)rnrn
Unable to load class for JSP的问题
[code=Java]rnrnrnrnrnrnrnrnrn rn rotate vehicle imagern rn rn rn rn rn rn rn rnrn[/code]rnrn想通过这个jsp文件给前台返回经过旋转的图片,但是一直报错,在控制台java中测试通过,但是在web中游问题,请赐教!谢谢!错误如下:rnorg.apache.jasper.JasperException: org.apache.jasper.JasperException: <em>Unable</em> to <em>load</em> <em>class</em> for <em>JSP</em>rn不知道是为什么引起的?
在线等 急,JSP文件 关于unable to load the class for jsp的报错
我的环境是:tomcat5.5 ,路径为F:\tomcat5.5;rn我的<em>JSP</em>路径:F:\tomcat5.5\webapps\ROOT\myjsp\JBDemo01.jsprn我的JavaBean的路径(是在WEB-INF下自己新建了一个文件夹<em>class</em>es)为rn:F:\tomcat5.5\webapps\ROOT\WEB-INF\<em>class</em>es ,然后里面放置SimpleBean.javarnrn1.以下是报错:rnHTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>rnrnAn error occurred at line: 3 in the jsp file: /myjsp/JBDemo01.jsprnGenerated servlet error:rnSyntax error on token "Invalid Character", invalid AssignmentOperatorrnrnrn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnrnrnroot cause rnrnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>rnrnAn error occurred at line: 3 in the jsp file: /myjsp/JBDemo01.jsprnGenerated servlet error:rnSyntax error on token "Invalid Character", invalid AssignmentOperatorrnrnrn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)rn org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.rnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/5.5.17rnrnrn2.以下是:SimpleBean.java代码rnpackage cn.mldn.lxh;rnrnpublic <em>class</em> SimpleBeanrn private String name;rn private String password;rn rn //若没有指定构造方法,则会生成一无参的什么都不做的构造函数rn rn public void setName(String name)rn this.name=name;rnrn public void setPassword(String password)rn this.password=password;rn rn public String getName()rn return this.name;rn rn public String getPassword()rn return this.password;rn rnrnrn
Unable to load class for JSP :jsp移植到linux
在window下程序运行正常,但移植到linux下后会提示<em>Unable</em> to <em>load</em> <em>class</em> for <em>JSP</em>, rnrn页面代码: rn rnrnrn rn rn rn xxx系统 rn rn rn rn rn rn rn rn rn 文件管理系统 rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn
classloading.spi.ClassLoadingException: Unable to load class
WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!)rn十二月 05, 2016 3:33:26 下午 org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreatorrnINFO: HHH10001005: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql://localhost/hibernate]rn十二月 05, 2016 3:33:26 下午 org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreatorrnINFO: HHH10001001: Connection properties: user=root, password=****rn十二月 05, 2016 3:33:26 下午 org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreatorrnINFO: HHH10001003: Autocommit mode: falsern十二月 05, 2016 3:33:26 下午 org.hibernate.engine.jdbc.connections.internal.PooledConnections rnINFO: HHH000115: Hibernate connection pool size: 20 (min=1)rn十二月 05, 2016 3:33:27 下午 org.hibernate.dialect.Dialect rnINFO: HHH000400: Using dialect: org.hibernate.dialect.MySQLDialectrnException in thread "main" org.hibernate.boot.registry.<em>class</em><em>load</em>ing.spi.ClassLoadingException: <em>Unable</em> to <em>load</em> <em>class</em> [com.bjsxt.hibernate.Teacher]rn at org.hibernate.boot.registry.<em>class</em><em>load</em>ing.internal.ClassLoaderServiceImpl.<em>class</em>ForName(ClassLoaderServiceImpl.java:348)rn at org.hibernate.boot.model.source.internal.annotations.AnnotationMetadataSourceProcessorImpl.(AnnotationMetadataSourceProcessorImpl.java:104)rn at org.hibernate.boot.model.process.spi.MetadataBuildingProcess$1.(MetadataBuildingProcess.java:147)rn at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:141)rn at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:83)rn at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:418)rn at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:87)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:691)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726)rn at TeacherTest.main(TeacherTest.java:16)rnCaused by: java.lang.ClassNotFoundException: Could not <em>load</em> requested <em>class</em> : com.bjsxt.hibernate.Teacherrn at org.hibernate.boot.registry.<em>class</em><em>load</em>ing.internal.ClassLoaderServiceImpl$AggregatedClassLoader.findClass(ClassLoaderServiceImpl.java:336)rn at java.lang.ClassLoader.<em>load</em>Class(ClassLoader.java:424)rn at java.lang.ClassLoader.<em>load</em>Class(ClassLoader.java:357)rn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Class.java:348)rn at org.hibernate.boot.registry.<em>class</em><em>load</em>ing.internal.ClassLoaderServiceImpl.<em>class</em>ForName(ClassLoaderServiceImpl.java:345)rn ... 9 morern这个错是什么问题?怎么解决?
Unable to load class [com.sun.net.ssl.internal.ssl.SunJSSE_i]...
有遇到过这个问题的前辈吗?TOMCAT 7.0 .启动时候报的. rnrn警告: <em>Unable</em> to <em>load</em> <em>class</em> [com.sun.net.ssl.internal.ssl.SunJSSE_i] to check against the @HandlesTypes annotation of one or more ServletContentInitializers.rnjava.lang.IllegalAccessError: <em>class</em> com.sun.net.ssl.internal.ssl.SunJSSE_i cannot access its super<em>class</em> com.sun.net.ssl.internal.ssl.HandshakeMessagern at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:615)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)rn at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)rn at java.net.URLClassLoader.access$000(URLClassLoader.java:58)rn at java.net.URLClassLoader$1.run(URLClassLoader.java:197)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:190)rn at java.lang.ClassLoader.<em>load</em>Class(ClassLoader.java:306)rn at sun.misc.Launcher$AppClassLoader.<em>load</em>Class(Launcher.java:301)rn at java.lang.ClassLoader.<em>load</em>Class(ClassLoader.java:247)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1603)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1533)rn at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:1988)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1951)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1840)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1808)rn at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1794)rn at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1214)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:828)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5148)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)rn...
Unable to load class for JSP要疯老..
首先是搞定javabean类,Price类如下:rnpackage test;rnpublic <em>class</em> Pricern public float getPrice(String sBookName)rn if(sBookName.equals("Thingkng in Java"))rn return new Float(23.0);rn else if(sBookName.equals("Core Java 2"))rn return new Float(32.5);rn else if(sBookName.equals("Special Edition Using Java 2"))rn return new Float(29.6);rn else if(sBookName.equals("Java Coding"))rn return new Float(13.3);rn else if(sBookName.equals("<em>JSP</em> HandBook"))rn return new Float(63.2);rn else rn return new Float(0);rn rnrnShoppingCart.java类:rnpackage test;rnimport javax.servlet.http.*;rnimport java.util.Vector;rnimport java.util.Enumeration;rnpublic <em>class</em> ShoppingCartrnVectorv=new Vector();rnString item=null;rnString submit=null;rnfloat fSum=0;rnPrice bookPrice=new Price();rnprivate void addItem(String name)rn v.addElement(name);rn fSum=fSum+bookPrice.getPrice(name);rnrnprivate void removeItem(String name)rnif(v.removeElement(name))rn fSum=fSum-bookPrice.getPrice(name);rn rnrnpublic float getSumprice()rnreturn fSum;rnrnpublic void setItem(String name)rnitem=name;rnrnpublic void setSubmit(String s)rnsubmit=s;rnrnpublic String[] getItems()rnString[] s=new String[v.size()];rnv.copyInto(s);rnreturn s;rn然后把两个类放到F:\Tomcat\webapps\mytop\WEB-INF\CLASSES\test中, 在CMD环境下,编译成功,生成CLASS,然后我把源文件剪裁出来,只留下两个CLASS文件,再编写<em>JSP</em>文件:rnrnrnrnrnrn 在您的购物车中有以下的书目:rn rnrnrn rn总金额为:rnrnrn rn rn rn请选择添加或者删除您想购买的书目:rn rnrnThinking in JavarnCore Java 2rnSpecial Edition Using Java 2rnJava Codingrn<em>JSP</em> HandBookrnrn rnrnrnrnrn在IE中运行就出现错误了:rnorg.apache.jasper.JasperException: org.apache.jasper.JasperException: <em>Unable</em> to <em>load</em> <em>class</em> for <em>JSP</em>rn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:156)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnroot cause rnrnorg.apache.jasper.JasperException: <em>Unable</em> to <em>load</em> <em>class</em> for <em>JSP</em>rn org.apache.jasper.JspCompilationContext.<em>load</em>(JspCompilationContext.java:600)rn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnroot cause rnrnjava.lang.ClassNotFoundException: org.apache.jsp.carts_jsprn java.net.URLClassLoader$1.run(URLClassLoader.java:200)rn java.security.AccessController.doPrivileged(Native Method)rn java.net.URLClassLoader.findClass(URLClassLoader.java:188)rn org.apache.jasper.servlet.JasperLoader.<em>load</em>Class(JasperLoader.java:134)rn org.apache.jasper.servlet.JasperLoader.<em>load</em>Class(JasperLoader.java:66)rn org.apache.jasper.JspCompilationContext.<em>load</em>(JspCompilationContext.java:598)rn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn能够确定的是环境设置应该没问题,因为我先前已经编译了一个简单的javabean类型文件,正常运行,网上查了很久,也没发现究竟什么问题,望大大些帮帮忙,我是新手...rnrn
org.apache.jasper.JasperException: Unable to load class for JSP错误
rnrnrn Hellornrnrn rn rncopyright(c)2008 sinsen.co.jp all right reserved.rnrnrnrn这个内容的HTML文件可以正常在http://localhost:8080/systemmood/jsp/header.html显示,换成http://localhost:8080/systemmood/jsp/header.jsp文件就出现org.apache.jasper.JasperException: <em>Unable</em> to <em>load</em> <em>class</em> for <em>JSP</em>错误,这是什么原因呢?怎么能解决呢?帮帮忙,谢谢啦!rnsystemmood,我的项目名rnjsp,项目下的文件夹rnheader.jsp,想显示的文件名rnheader.html,能显示的文件名
Unable to compile class for JSP,求高手帮忙,在线
我的dao代码没一点问题,在jsp页面中加了rnrn然后,无论打开这个站点内任何其他jsp都出现下面这个:rnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>: rnAn error occurred at line: 22 in the generated java filernThe method getJspApplicationContext(ServletContext) is undefined for the type JspFactoryrnStacktrace:rn at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)rn at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)rn at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)rn at java.lang.Thread.run(Unknown Source)rn求解释,求改写,求。。。各种求!!!!!!!rn谢谢。。。。。。。。
Unable to load configuration. - Class: org.apache.xml.utils.DOMBuilder
急求!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Unable to load configuration. - Class: com.opensymphony.xwork2.config.providers.
2014-09-01 10:04:36,335 ERROR -Dispatcher initialization failedrn<em>Unable</em> to <em>load</em> configuration. - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: <em>load</em>ConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)rn at org.apache.struts2.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:446)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)rn at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)rn at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)rn at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)rn at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)rn at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)rn at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)rn at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)rn at org.mortbay.jetty.Server.doStart(Server.java:224)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)rn at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:454)rn at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:396)rn at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)rn at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)rn at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)rn at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)rn at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)rn at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)rn at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)rn at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)rn at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)rn at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)rn at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)rn at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.codehaus.plexus.<em>class</em>worlds.launcher.Launcher.launchEnhanced(Launcher.java:289)rn at org.codehaus.plexus.<em>class</em>worlds.launcher.Launcher.launch(Launcher.java:229)rn at org.codehaus.plexus.<em>class</em>worlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)rn at org.codehaus.plexus.<em>class</em>worlds.launcher.Launcher.main(Launcher.java:356)rn at org.codehaus.<em>class</em>worlds.Launcher.main(Launcher.java:46)rnCaused by: Error <em>load</em>ing configuration file struts-default.xml - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: <em>load</em>ConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:169)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:132)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:225)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)rn ... 48 morernCaused by: java.lang.NullPointerExceptionrn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:1045)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:165)rn ... 51 morern[WARNING] failed struts2: <em>Unable</em> to <em>load</em> configuration. - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: <em>load</em>ConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn[ERROR] Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@d704f0/service,E:\sinosofthaida\online\src\main\webapprn<em>Unable</em> to <em>load</em> configuration. - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: <em>load</em>ConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:502)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.codehaus.plexus.<em>class</em>worlds.launcher.Launcher.launchEnhanced(Launcher.java:289)rn at org.codehaus.plexus.<em>class</em>worlds.launcher.Launcher.launch(Launcher.java:229)rn at org.codehaus.plexus.<em>class</em>worlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)rn at org.codehaus.plexus.<em>class</em>worlds.launcher.Launcher.main(Launcher.java:356)rn at org.codehaus.<em>class</em>worlds.Launcher.main(Launcher.java:46)rnCaused by: <em>Unable</em> to <em>load</em> configuration. - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: <em>load</em>ConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)rn at org.apache.struts2.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:446)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)rn ... 46 morernCaused by: Error <em>load</em>ing configuration file struts-default.xml - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: <em>load</em>ConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:169)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:132)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:225)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)rn ... 48 morernCaused by: java.lang.NullPointerExceptionrn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:1045)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:165)rn ... 51 morernrn项目启动就报错,什么情况
jsp 网站移植到linux后 出现 unable to load class for jsp
我在windows下面建好的jsp网站移植到linux后运行出现 unable to <em>load</em> <em>class</em> for jsp (调用javabean时出现) 我自己单独写了一个查询数据库的页面可以运行,但是一用到bean就出问题 按照网上说的我把换成了rnrnrn提示我说ConnDb cannot be resolved to a type rn然后就提示我说"ConnDB m =...."这行有错误rn请问哪位<em>高手</em>能帮我解答这个问题啊 rnPS:我这个问题与别人不同的是移植到了linux后出现的,程序在windows下面可以正常运行,按照网上的我重新配置了环境(我觉得环境应该没有问题,因为单独写的查询数据库的页面可以正常运行) 谢谢
Unable to compile class for JSP
总是提示错误:rnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>: rnrnAn error occurred at line: 6 in the jsp file: /saxParseXML.jsprnparseXML1 cannot be resolved to a typern3: rn4: rn5: rn6: rn7: rn8: rn9: rnrnrnAn error occurred at line: 6 in the jsp file: /saxParseXML.jsprnparseXML1 cannot be resolved to a typern3: rn4: rn5: rn6: rn7: rn8: rn9: rn
Unable to compile class for JSP:
把登录界面做成了jsp+javabean的模式但是提示不能编译类,代码什么的没问题,是按视频做的,求助大神!rnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>: rnrnrnStacktrace:rn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)rn org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
Unable to compile class for JSP!!在线等!!急急急
<em>Unable</em> to compile <em>class</em> for <em>JSP</em>rn不管当导入自己的包 rnrn还是在jsp'页面连接数据库时都出现这个报错rn导入自己写的包时,提示不能识别!!!晕死了rnrnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: javax.servlet.ServletException: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.rn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:532)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:408)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnroot cause rnrnjavax.servlet.ServletException: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.rn org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:855)rn org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:784)rn org.apache.jsp.myweb.webTest.MyJsp_jsp._jspService(MyJsp_jsp.java:116)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnroot cause rnrnjava.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.rn com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)rn com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)rn com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)rn com.microsoft.jdbc.sqlserver.tds.TDSConnection.(Unknown Source)rn com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)rn com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)rn com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)rn com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)rn java.sql.DriverManager.getConnection(Unknown Source)rn java.sql.DriverManager.getConnection(Unknown Source)rn org.apache.jsp.myweb.webTest.MyJsp_jsp._jspService(MyJsp_jsp.java:72)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rnrn
Unable to compile class for JSP"问题,新手在线等">"Unable to compile class for JSP"问题,新手在线
tomcat+j2sdk已经配置过rnhttp://127.0.0.1:8080/index.jsprn可以成功运行!rn而下面的程序放在和index.jsp同目录下出现错误:rnexception rnrnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>rnrnAn error occurred at line: 1 in the jsp file: /chineseStringExample1.jsprnrnGenerated servlet error:rn [javac] Compiling 1 source filernrnD:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\chineseStringExample1_jsp.java:43: illegal start of expressionrnpublic String codeToString(String str)rn^rnrnrnrnAn error occurred at line: 24 in the jsp file: /chineseStringExample1.jsprnrnGenerated servlet error:rnD:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\chineseStringExample1_jsp.java:69: ';' expectedrn elsern ^rn2 errorsrnrnrn at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)rn at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:248)rn at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)rn at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)rn at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)rn at java.lang.Thread.run(Thread.java:534)rnrnrnrn--------------------------------------------------------------------------------rnrnrnrnrnjsp程序全文如下:rnrnrnrn rn rn 请输入你的姓名:rn rn rn rn rn rn
Unable to compile class for JSP错误! 急!在线等!!!
org.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>rnrnGenerated servlet error:rnE:\jakarta-tomcat-5.0.28\work\Catalina\localhost\newwm\org\apache\jsp\xianjin_jsp.java:8: 找不到符号rn符号: 类 Goldrn位置: 软件包 com.mir.librnimport com.mir.lib.Gold;rn ^rnrnrnAn error occurred at line: 10 in the jsp file: /xianjin.jsprnGenerated servlet error:rnE:\jakarta-tomcat-5.0.28\work\Catalina\localhost\newwm\org\apache\jsp\xianjin_jsp.java:59: 找不到符号rn符号: 类 Goldrn位置: 类 org.apache.jsp.xianjin_jsprn Gold gl = new Gold();rn ^rnrnrnAn error occurred at line: 10 in the jsp file: /xianjin.jsprnGenerated servlet error:rnE:\jakarta-tomcat-5.0.28\work\Catalina\localhost\newwm\org\apache\jsp\xianjin_jsp.java:59: 找不到符号rn符号: 类 Goldrn位置: 类 org.apache.jsp.xianjin_jsprn Gold gl = new Gold();rn ^rn3 错误rnrnrnrn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)rn org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn com.mir.lib.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:161)rnrn
调用javabean时提示Unable to load class for JSP
写了个简单的随机生成密码的jsp页面mima.jsprn代码如下:rnrnrnrnrn 密码生成器rnrnrnrnrnrn随机生成密码:rn rnrnrnrnjavabean的代码如下:package cc;rnimport java.util.*;rnimport java.io.Serializable;rnpublic <em>class</em> PasswordBean implements Serializable rn private int numDigit;rn private long password;rn public PasswordBean()rn numDigit=6;rn password=123456;rn rn public void setNumDigit(int n)rn if(n<6)rn numDigit=n;rn elsern numDigit=6;rn rn public void createPassword()rn double d=Math.random();rn int n=1;rn for(int i=0;i
问:jsp自定义标签的问题Unable to load tag handler class
Tomcat下编译出现的问题:rnorg.apache.jasper.JasperException: /jsp/taginfo.jsp(10,1) <em>Unable</em> to <em>load</em> tag handler <em>class</em> "edu.jsp.tag.InfoTagExample" for tag "mytag:info"rn自习检查程序,也没发现问题,helprn4个文件分别如下:rn/amytags/jsp/taginfo.jsprn---------------------------------------------rn rnrn rn rn custom tag rn rn rn rn rn rn rn rnrnrn/amytags/Web-inf/mytag.tldrn-------------------------------------------------rn rnrn rnrn rnrn1.2 rn1.2 rnmytag rnThis taglib provides tag example rnrn rn info rn edu.jsp.tag.InfoTagExample rn empty rn rn userName rn true rn true rn rn rnrn rnrnrn/amytags/Web-inf/web.xmlrn-------------------------------------------------------------rnrnrnrnrnrn rn rn rn /WEB-INF/mytag.tld rn /WEB-INF/mytag.tld rn rnrnrnrn/amytags/Web-inf/<em>class</em>es/edu/jsp/tag/InfoTagExample.javarn----------------------------------------------------------rnpackage edu.jsp.tag; rnrnimport javax.servlet.jsp.*; rnimport javax.servlet.jsp.tagext.*; rnimport java.io.Writer; rnimport java.io.IOException; rnrnpublic <em>class</em> InfoTagExample extends TagSupport rn rn String userName; rn public InfoTagExample() rn rn super(); rn rn public void setUserName(String user) rn rn this.userName = user; rn rnrn public int doStratTag() throws JspTagException rn rn System.out.println("doStartTag"); rn try rn pageContext.getOut().write("welcome" + userName); rn rn catch(Exception e) rn e.printStackTrace(); rn rnrn return (SKIP_BODY); rn rn rn
org.apache.jasper.JasperException: Unable to load class for JSP是什么原因请帮帮忙!
org.apache.jasper.JasperException: <em>Unable</em> to <em>load</em> <em>class</em> for <em>JSP</em>rn org.apache.jasper.JspCompilationContext.<em>load</em>(JspCompilationContext.java:599)rn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:137)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:314)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnroot cause rnrnjava.lang.ClassNotFoundException: org.apache.jsp.login_jsprn java.net.URLClassLoader$1.run(URLClassLoader.java:200)rn java.security.AccessController.doPrivileged(Native Method)rn java.net.URLClassLoader.findClass(URLClassLoader.java:188)rn org.apache.jasper.servlet.JasperLoader.<em>load</em>Class(JasperLoader.java:131)rn org.apache.jasper.servlet.JasperLoader.<em>load</em>Class(JasperLoader.java:63)rn org.apache.jasper.JspCompilationContext.<em>load</em>(JspCompilationContext.java:597)rn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:137)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:314)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrn
jsp标签 在tomcat运行时提示Unable to load class mypackage.tt错误
小弟刚刚学jsp,用jcreator和tomcat,写了个简单的标签,在浏览页面时报错rntype Exception reportrnrnmessage Internal Server Errorrnrndescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.rnrnexception rnorg.apache.jasper.compiler.CompileException: /testonly/build/testCounter.jsp(8,31) <em>Unable</em> to <em>load</em> <em>class</em> mypackage.ttrnrnweb文件夹下放的是jsp页,WEB-INF文件夹rnWEB-INF文件夹下包括tld文件,web.xml和<em>class</em>es文件夹rn<em>class</em>es文件夹下是mypackage.tt的<em>class</em>文件rnrn请教大侠应该怎么解决rn
大哥们帮忙看下:Unable to load class for JSP
错误信息:rnexception rnrnorg.apache.jasper.JasperException: [color=#FF0000]<em>Unable</em> to <em>load</em> <em>class</em> for <em>JSP</em>[/color]rn org.apache.jasper.JspCompilationContext.<em>load</em>(JspCompilationContext.java:599)rn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:141)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnroot cause rnrn[color=#FF0000]java.lang.ClassNotFoundException: org.apache.jsp.usermodify_jsp[/color]rn java.net.URLClassLoader$1.run(URLClassLoader.java:200)rn java.security.AccessController.doPrivileged(Native Method)rn java.net.URLClassLoader.findClass(URLClassLoader.java:188)rn org.apache.jasper.servlet.JasperLoader.<em>load</em>Class(JasperLoader.java:134)rn org.apache.jasper.servlet.JasperLoader.<em>load</em>Class(JasperLoader.java:66)rn org.apache.jasper.JspCompilationContext.<em>load</em>(JspCompilationContext.java:597)rn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:141)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnusermodify.jsp源码:rnrnrnrnrnrnrnrnrnrnrnrn rn 修改个人信息rn rnrnrn rn rn rn rn 用户信息rn rn rn 用户名:rn >rn rn rn 电话rn >rn rn rn 地址rn rn rnrn rn rn rn rnrnrnrnrnrn
Plug-in taskFlow was unable to load class gef.editor.application.Application.
运行一个由插件改为rcp的程序时,跳出了这个问题。rn求教是什么原因。rn[size=14px][b]Plug-in taskFlow was unable to <em>load</em> <em>class</em> gef.editor.application.Application.rnCaused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle taskFlow (50).rnCaused by: org.osgi.framework.BundleException: The activator gef.editor.application.Application for bundle taskFlow is invalidrnCaused by: java.lang.ClassCastException: gef.editor.application.Application cannot be cast to org.osgi.framework.BundleActivatorrn at org.eclipse.osgi.framework.internal.core.AbstractBundle.<em>load</em>BundleActivator(AbstractBundle.java:152)[/b][/size]rnrn具体的错误如下:rn!ENTRY org.eclipse.osgi 4 0 2014-10-27 16:20:17.340rn!MESSAGE Application errorrn!STACK 1rnorg.eclipse.core.runtime.CoreException: Plug-in taskFlow was unable to <em>load</em> <em>class</em> gef.editor.application.Application.rn at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)rn at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:162)rn at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)rn at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)rn at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)rn at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:189)rn at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)rn at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)rn at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)rn at org.eclipse.equinox.launcher.Main.run(Main.java:1311)rn at org.eclipse.equinox.launcher.Main.main(Main.java:1287)rnCaused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle taskFlow (50).rn at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:125)rn at org.eclipse.osgi.baseadaptor.<em>load</em>er.ClasspathManager.findLocalClass(ClasspathManager.java:449)rn at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)rn at org.eclipse.osgi.internal.<em>load</em>er.BundleLoader.findLocalClass(BundleLoader.java:376)rn at org.eclipse.osgi.internal.<em>load</em>er.BundleLoader.findClassInternal(BundleLoader.java:452)rn at org.eclipse.osgi.internal.<em>load</em>er.BundleLoader.findClass(BundleLoader.java:405)rn at org.eclipse.osgi.internal.<em>load</em>er.BundleLoader.findClass(BundleLoader.java:393)rn at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.<em>load</em>Class(DefaultClassLoader.java:105)rn at java.lang.ClassLoader.<em>load</em>Class(Unknown Source)rn at org.eclipse.osgi.internal.<em>load</em>er.BundleLoader.<em>load</em>Class(BundleLoader.java:321)rn at org.eclipse.osgi.framework.internal.core.BundleHost.<em>load</em>Class(BundleHost.java:231)rn at org.eclipse.osgi.framework.internal.core.AbstractBundle.<em>load</em>Class(AbstractBundle.java:1193)rn at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)rn ... 16 morernCaused by: org.osgi.framework.BundleException: The activator gef.editor.application.Application for bundle taskFlow is invalidrn at org.eclipse.osgi.framework.internal.core.AbstractBundle.<em>load</em>BundleActivator(AbstractBundle.java:157)rn at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:750)rn at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)rn at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)rn at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)rn at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)rn ... 28 morernCaused by: java.lang.ClassCastException: gef.editor.application.Application cannot be cast to org.osgi.framework.BundleActivatorrn at org.eclipse.osgi.framework.internal.core.AbstractBundle.<em>load</em>BundleActivator(AbstractBundle.java:152)rn ... 33 morern
org.eclipse.ajdt.ui was unable to load class org.eclipse.ajdt.internal.ui.ajde.CachedRuntimeClasspathEntryResolver (分享)
Plug-in org.eclipse.ajdt.ui was unable to <em>load</em> <em>class</em> org.eclipse.ajdt.internal.ui.ajde.CachedRuntimeClasspathEntryResolver.rnAn error occurred while automatically activating bundle org.eclipse.ajdt.uirnrn此错误跟JUNIT settings 设置有关,需要取消设置即可。rn
Unable to load class base是什么原因?
在测试国际化的例子中,<em>JSP</em>如下:rnrnrnrnrnrnrnrnrn rnrnrnrnrnrnTest Textrnrnrnrn在处出错,关于那两个properties文件已经存在<em>class</em>es目录下了,请问是什么原因?谢谢!
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory
开发环境:rnNetBeans 6.1 Jboss 5.0 JDK5rnrn使用技术:rnEJB Struts 2rnrn所建项目工程类型为:企业应用程序。rnrn异常是在右击项目名称,执行【取消部署后再次部署】后所报的异常。rnrn整了好多天了,求<em>高手</em>指点一二!rnrn异常如下:rn[code=Java]rn6:50:35,281 INFO [XmlConfigurationProvider] Parsing configuration file [struts-default.xml]rn16:50:36,015 ERROR [[/NewsManager-war]] Exception starting filter struts2rn<em>Unable</em> to <em>load</em> bean: type: <em>class</em>:com.opensymphony.xwork2.ObjectFactory - bean - jar:vfsfile:/D:/Jboss5.0/server/default/deploy/NewsManager.ear/NewsManager-war.war/WEB-INF/lib/struts2-core-2.0.11.1.jar!/struts-default.xml:30:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>(DefaultConfiguration.java:131)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)rn at org.apache.struts2.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:395)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)rn at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:234)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:90)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3733)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4369)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)rn at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)rn at org.apache.catalina.core.StandardContext.init(StandardContext.java:5357)rn at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:347)rn at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:143)rn at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:341)rn at org.jboss.web.deployers.WebModule.startModule(WebModule.java:89)rn at org.jboss.web.deployers.WebModule.start(WebModule.java:67)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)rn at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)rn (AbstractSimpleRealDeployer.java:65)rn at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)rn rn。。。。。。。。。。。。。。。。。。。。。。。。。。。。rnrn.scan(HDScanner.java:290)rn at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)rn at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)rn at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)rn at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)rn at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)rn at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)rn at java.lang.Thread.run(Thread.java:595)rnCaused by: Bean type <em>class</em> com.opensymphony.xwork2.ObjectFactory with the name xwork has already been <em>load</em>ed by bean - jar:vfsfile:/D:/Jboss5.0/server/default/lib/struts2-core-2.0.11.1.jar!/struts-default.xml:30:72 - bean - jar:vfsfile:/D:/Jboss5.0/server/default/deploy/NewsManager.ear/NewsManager-war.war/WEB-INF/lib/struts2-core-2.0.11.1.jar!/struts-default.xml:30:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:193)rn ... 83 morern16:50:36,140 ERROR [StandardContext] Error filterStartrn16:50:36,140 ERROR [StandardContext] Context [/NewsManager-war] startup failed due to previous errorsrn16:50:37,125 ERROR [[/NewsManager-war]] "Restricted listeners property file not foundrn16:50:38,359 INFO [XmlConfigurationProvider] Parsing configuration file [struts-default.xml]rnrn[/code]
Unable to load config class org.apache.struts2.jsf.FacesSetupInterceptor at interceptor
WARN [main] (InterceptorBuilder.java:60) - <em>Unable</em> to <em>load</em> config <em>class</em> org.apache.struts2.jsf.FacesSetupInterceptor at interceptor - jar:file:/D:/Program%20Files/Tomcat%205.5/webapps/misystem/WEB-INF/lib/struts2-jsf-plugin-2.0.6.jar!/struts-plugin.xml:14:97 probably due to a missing jar, which might be fine if you never plan to use the jsfSetup interceptorrnERROR [main] (InterceptorBuilder.java:63) - Actual exceptionrnCould not <em>load</em> <em>class</em> org.apache.struts2.jsf.FacesSetupInterceptor. Perhaps it exists but certain dependencies are not available? - interceptor - jar:file:/D:/Program%20Files/Tomcat%205.5/webapps/misystem/WEB-INF/lib/struts2-jsf-plugin-2.0.6.jar!/struts-plugin.xml:14:97rn at com.opensymphony.xwork2.ObjectFactory.buildInterceptor(ObjectFactory.java:204)rn at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:57)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:864)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>InterceptorStack(XmlConfigurationProvider.java:699)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>InterceptorStacks(XmlConfigurationProvider.java:712)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Interceptors(XmlConfigurationProvider.java:733)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:365)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Packages(XmlConfigurationProvider.java:239)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.<em>load</em>Packages(StrutsXmlConfigurationProvider.java:111)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>(DefaultConfiguration.java:152)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)rn at org.apache.struts2.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:398)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:455)rn at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:78)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:927)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:890)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)rnCaused by: java.lang.NoClassDefFoundError: javax/faces/lifecycle/Lifecyclern at java.lang.Class.getDeclaredMethods0(Native Method)rn at java.lang.Class.privateGetDeclaredMethods(Unknown Source)rn at java.lang.Class.getDeclaredMethods(Unknown Source)rn at java.beans.Introspector$1.run(Unknown Source)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.beans.Introspector.getPublicDeclaredMethods(Unknown Source)rn at java.beans.Introspector.getTargetMethodInfo(Unknown Source)rn at java.beans.Introspector.getBeanInfo(Unknown Source)rn at java.beans.Introspector.getBeanInfo(Unknown Source)rn at java.beans.Introspector.getBeanInfo(Unknown Source)rn at java.beans.Introspector.(Unknown Source)rn at java.beans.Introspector.getBeanInfo(Unknown Source)rn at org.springframework.beans.CachedIntrospectionResults.(CachedIntrospectionResults.java:244)rn at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:143)rn at org.springframework.beans.BeanWrapperImpl.setIntrospectionClass(BeanWrapperImpl.java:236)rn at org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrapperImpl.java:194)rn at org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrapperImpl.java:177)rn at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:188)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:800)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowire(AbstractAutowireCapableBeanFactory.java:258)rn at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:145)rn at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:128)rn at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:141)rn at com.opensymphony.xwork2.ObjectFactory.buildInterceptor(ObjectFactory.java:182)rn ... 40 more
数据库连接错误: Unable to load class com.microsoft.jdbc.sqlserver.SQLServerDriver
<em>Unable</em> to <em>load</em> <em>class</em> com.microsoft.jdbc.sqlserver.SQLServerDriverrn谁能告诉我如何配置?
Hibernate 4.3.5 Unable to load class [oracle.jdbc.driver.OracleDriver]
运行环境x64位 Win7 Oracle 11g Hibernate 版本4.3.5 MyEclipse professional 2014 Oracle驱动为 ojdbc6.jar rnrnrn我运行测试的时候出现如下错误:rn五月 05, 2014 5:15:29 下午 org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configurernWARN: HHH000402: Using Hibernate built-in connection pool (not for production use!)rnException in thread "main" org.hibernate.boot.registry.<em>class</em><em>load</em>ing.spi.ClassLoadingException: <em>Unable</em> to <em>load</em> <em>class</em> [oracle.jdbc.driver.OracleDriver]rn at org.hibernate.boot.registry.<em>class</em><em>load</em>ing.internal.ClassLoaderServiceImpl.<em>class</em>ForName(ClassLoaderServiceImpl.java:243)rn at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.<em>load</em>DriverIfPossible(DriverManagerConnectionProviderImpl.java:200)rn at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.buildCreator(DriverManagerConnectionProviderImpl.java:156)rn at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.configure(DriverManagerConnectionProviderImpl.java:95)rn at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)rn at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)rn at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)rn at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.buildJdbcConnectionAccess(JdbcServicesImpl.java:260)rn at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:94)rn at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)rn at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)rn at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)rn at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1885)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1843)rn at com.maxam.hibernate.telek.StudentTest.main(StudentTest.java:36)rnCaused by: java.lang.ClassNotFoundException: Could not <em>load</em> requested <em>class</em> : oracle.jdbc.driver.OracleDriverrn at org.hibernate.boot.registry.<em>class</em><em>load</em>ing.internal.ClassLoaderServiceImpl$AggregatedClassLoader.findClass(ClassLoaderServiceImpl.java:228)rn at java.lang.ClassLoader.<em>load</em>Class(ClassLoader.java:425)rn at java.lang.ClassLoader.<em>load</em>Class(ClassLoader.java:358)rn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Class.java:270)rn at org.hibernate.boot.registry.<em>class</em><em>load</em>ing.internal.ClassLoaderServiceImpl.<em>class</em>ForName(ClassLoaderServiceImpl.java:240)rn ... 14 morern
急!!Unable to load configuration- Class: com.opensymphony.xwork2.util.FileManager
Caused by: Caught exception while <em>load</em>ing file struts.xml - Class: com.opensymphony.xwork2.util.FileManagerrnFile: FileManager.javarnMethod: <em>load</em>FilernLine: 132 - com/opensymphony/xwork2/util/FileManager.java:132:-1rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:913)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:154)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:121)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:179)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 16 morernCaused by: java.lang.IllegalArgumentException: No file 'file:/E:/workspace/SampleOne/WebContent/WEB-INF/<em>class</em>es/struts.xml' found as a resourcern at com.opensymphony.xwork2.util.FileManager.<em>load</em>File(FileManager.java:132)rn at com.opensymphony.xwork2.util.FileManager.<em>load</em>File(FileManager.java:105)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:898)rn ... 20 more
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean -
<em>Unable</em> to <em>load</em> bean: type: <em>class</em>:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/up<em>load</em>/WEB-INF/lib/struts2-core-2.1.8.jar!/struts-default.xml:29:72rnrn??实在搞不定了,试了很多方法都不行,请<em>高手</em>帮忙。
org.apache.jasper.JasperException: Unable to compile class for JSP
type Exception reportrnrnmessagernrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexceptionrnrnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>: rnrnAn error occurred at line: 1 in the generated java filernSyntax error on tokens, delete these tokensrnrnAn error occurred at line: 2 in the generated java filernInvalid character constantrnrnAn error occurred at line: 15 in the generated java filernSyntax error on tokens, ( expected insteadrnrnAn error occurred at line: 15 in the generated java filernSyntax error on tokens, delete these tokensrnrnAn error occurred at line: 15 in the generated java filernSyntax error, insert ")" to complete ExpressionrnrnAn error occurred at line: 15 in the generated java filernSyntax error, insert "AssignmentOperator Expression" to complete AssignmentrnrnAn error occurred at line: 15 in the generated java filernSyntax error, insert ";" to complete BlockStatementsrnrnAn error occurred at line: 15 in the generated java filernSyntax error on tokens, delete these tokensrnrnAn error occurred at line: 17 in the generated java filernSyntax error on tokens, delete these tokensrnrnAn error occurred at line: 18 in the generated java filernSyntax error on tokens, ( expected insteadrnrnAn error occurred at line: 18 in the generated java filernSyntax error on tokens, delete these tokensrnrnAn error occurred at line: 18 in the generated java filernSyntax error on token(s), misplaced construct(s)rnrnAn error occurred at line: 18 in the generated java filernSyntax error on tokens, delete these tokensrnrnAn error occurred at line: 18 in the generated java filernSyntax error on tokens, Name expected insteadrnrnAn error occurred at line: 18 in the generated java filernSyntax error on tokens, delete these tokensrnrnAn error occurred at line: 22 in the generated java filernSyntax error, insert "]" to complete ArrayAccessrnrnAn error occurred at line: 22 in the generated java filernSyntax error, insert ")" to complete ExpressionrnrnAn error occurred at line: 22 in the generated java filernSyntax error, insert "AssignmentOperator Expression" to complete AssignmentrnrnAn error occurred at line: 22 in the generated java filernSyntax error, insert ";" to complete StatementrnrnStacktrace:rn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)rn org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:317)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrnrnrnrn新建的一个Web项目 发布不起 原先的项目是可以发布的··出现这个问题后·我从新建了一个新Web项目,居然还是这样。求<em>高手</em>解决
Unable to compile class for JSP 求救
(1)网页文件mytest.jsprnrnrnrnrn rn ACCESS连接测试rnrnrnrnrnrn(2)在IE6浏览器中打开这个<em>JSP</em>,结果报错如下:rnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>rnrnAn error occurred at line: 9 in the jsp file: /mytest.jsprnrnGenerated servlet error:rn [javac] Compiling 1 source filernrnC:\Documents and Settings\Administrator\.IntelliJIdea80\system\tomcat\Unnamed_wordspace723ee4b1\work\Catalina\localhost\myproject1\org\apache\jsp\mytest_jsp.java:59: illegal escape characterrnrnrnrnAn error occurred at line: 9 in the jsp file: /mytest.jsprnrnGenerated servlet error:rn String url = "jdbc:odbc:driver=Microsoft Access Driver (*.mdb);DBQ=F:\wordspace\myproject1\Database.mdb";rn ^rnrnrnrnAn error occurred at line: 9 in the jsp file: /mytest.jsprnrnGenerated servlet error:rnC:\Documents and Settings\Administrator\.IntelliJIdea80\system\tomcat\Unnamed_wordspace723ee4b1\work\Catalina\localhost\myproject1\org\apache\jsp\mytest_jsp.java:59: illegal escape characterrnrnrnrnAn error occurred at line: 9 in the jsp file: /mytest.jsprnrnGenerated servlet error:rn String url = "jdbc:odbc:driver=Microsoft Access Driver (*.mdb);DBQ=F:\wordspace\myproject1\Database.mdb";rn ^rnrnrnrnAn error occurred at line: 9 in the jsp file: /mytest.jsprnrnGenerated servlet error:rnC:\Documents and Settings\Administrator\.IntelliJIdea80\system\tomcat\Unnamed_wordspace723ee4b1\work\Catalina\localhost\myproject1\org\apache\jsp\mytest_jsp.java:59: illegal escape characterrnrnrnrnAn error occurred at line: 9 in the jsp file: /mytest.jsprnrnGenerated servlet error:rn String url = "jdbc:odbc:driver=Microsoft Access Driver (*.mdb);DBQ=F:\wordspace\myproject1\Database.mdb";rn ^rn3 errorsrnrnrn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)rn org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rnrn请大家帮找下究竟是什么原因,谢谢!
Unable to compile class for JSP问题
小弟前几天刚装JBuilder 2006,可连个最简单的网站都没编译过:(rnrn页面抛出异常:rnrnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>rnrnAn error occurred at line: -1 in the jsp file: nullrnrnGenerated servlet error:rn [javac] Compiling 1 source filern [javac] I:\EShop\Tomcat\work\WebModule1\jsp1_jsp.java:7: 软件包 eshop 不存在rn [javac] new eshop.Test().ShowMsg();rn [javac] ^rn [javac] I:\EShop\Tomcat\work\WebModule1\jsp1_jsp.java:54: 软件包 Pack 不存在rn [javac] new Pack.Test().ShowMsg(); rn [javac] ^rn [javac] 2 错误rnrn可是在目录WEB-INF\<em>class</em>es下,包eshop和Pack中的Test.<em>class</em>文件都存在,不知道是怎么回事?rn以前使用Jbuilder的低版本时从没遇过类似问题。请大家帮忙,谢谢。
org.apache.jasper.JasperException: Unable to compile class for JSP:
org.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>: rnrnAn error occurred at line: 11 in the jsp file: /getMessage.jsprnBeanListHandler cannot be resolved to a typern8: String sql="select * from guestbook order by id desc";rn9: md.setDataSourceName("java:/comp/env/jdbc/mysql");rn10: md.init();rn11: List list =(List) md.Query(sql,null,new BeanListHandler(Guestbook.<em>class</em>));rn12: rn13: for(int i=0;irn17: rnrnrnAn error occurred at line: 14 in the jsp file: /getMessage.jsprnGuestbook cannot be resolved to a typern11: List list =(List) md.Query(sql,null,new BeanListHandler(Guestbook.<em>class</em>));rn12: rn13: for(int i=0;irn17: rnrnrnStacktrace:rn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)rn org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:644)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:722)rnrn在学习struts 刚接触!一直报出这样的错。请<em>在线</em>的前辈们帮帮忙吧!看看我拿错了
Unable to compile class for JSP求教
org.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>rnrnAn error occurred at line: -1 in the jsp file: nullrnrnGenerated servlet error:rn [javac] Compiling 1 source filernrn/usr/apache-tomcat-4.1.36/work/Standalone/localhost/_/hyssq/HYSYL_BOT_VIEW_jsp.java:19: getTimeInMillis() has protected access in java.util.Calendarrn beg.getTimeInMillis();rn ^rn/usr/apache-tomcat-4.1.36/work/Standalone/localhost/_/hyssq/HYSYL_BOT_VIEW_jsp.java:20: getTimeInMillis() has protected access in java.util.Calendarrn end.getTimeInMillis();rn ^rn/usr/apache-tomcat-4.1.36/work/Standalone/localhost/_/hyssq/HYSYL_BOT_VIEW_jsp.java:21: getTimeInMillis() has protected access in java.util.Calendarrn float geshu =((end.getTimeInMillis()-beg.getTimeInMillis())/(1000*60))/30;rn ^rn/usr/apache-tomcat-4.1.36/work/Standalone/localhost/_/hyssq/HYSYL_BOT_VIEW_jsp.java:21: getTimeInMillis() has protected access in java.util.Calendarrn float geshu =((end.getTimeInMillis()-beg.getTimeInMillis())/(1000*60))/30;rn ^rn4 errorsrnrn我在我机器运行没有问题 但是拿到1.3jdk的liunx操作系统出如上错误rn
急,Unable to compile class for JSP
代码没有问题,在别的机器可运行,在新机器上部署就出问题了,是个登陆页面,登陆后显示错误rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>rnrnAn error occurred at line: 65 in the jsp file: /login_do.jsprnGenerated servlet error:rnD:\tool\New Folder\tomcat\tomcat\webapps\RBT\work\org\apache\jsp\login_005fdo_jsp.java:121: unreachable statementrn out.write("\r\n");rn ^rn1 errorrnrnrnrn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)rn org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.rnrn
求救:Unable to compile class for JSP
[b]错误信息:[/b]rnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>: rnrnAn error occurred at line: 29 in the jsp file: /adjust.jsprnrequset cannot be resolvedrn26: %>rn27: rn29: String tempname=requset.getParameter("un");rn30: String temppass=request.getParameter("ps");rn31: tempname=change(tempname);rn32: temppass=change(temppass);rnrnrnStacktrace:rn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)rn org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:317)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn[code=Java]rnrn rn Untitled Documentrn rn rn rn rn rn rn rn rn[/code]
求解 Unable to compile class for JSP
<em>JSP</em>页面rnrn rnrnrnrnrn rn rn rn rn rn rn rn rnrn rn
不一样的:Unable to compile class for JSP
在别的地方可以但在我的电脑就不行rnrnrnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>rnrnAn error occurred at line: -1 in the jsp file: nullrnrnGenerated servlet error:rn [javac] Compiling 1 source filernrnC:\Tomcat\work\Catalina\192.168.1.27\_\org\apache\jsp\index_jsp.java:7: cannot access java.lang.Objectrnbad <em>class</em> file: C:\Java\jre\lib\rt.jar(java/lang/Object.<em>class</em>)rn<em>class</em> file has wrong version 49.0, should be 48.0rnPlease remove or make sure it appears in the correct subdirectory of the <em>class</em>path.rnpublic final <em>class</em> index_jsp extends org.apache.jasper.runtime.HttpJspBasern ^rn1 errorrnrnrn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:83)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:306)rn org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:398)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:441)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:422)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:507)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:810)rn filters.CheckLoginTimoutFilter.doFilter(CheckLoginTimoutFilter.java:57)rn filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/5.0.24 logs.rnrn
求助:JSP :Unable to compile class for JSP
我装的是JDK+TOMCATrnrnCLASSPATH:D:\JDK\lib;.;D:\JDK\lib\tool.jar;D:\JDK\lib\dt.jar;%TOMCAT_HOME%\librnJAVA_HOME:D:\JDK\rnPATH:%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;D:\JDK\bin;.;D:\JDK\lib\dt.jar;D:\JDK\lib\tools.jarrnTOMCAT_HOME:D:\Tomcat 5.0rnrnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>rnrnAn error occurred at line: 2 in the jsp file: /shi/index.jsprnrnGenerated servlet error:rn [javac] Compiling 1 source filernrnD:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\shi\index_jsp.java:43: package com.guestbook does not existrn com.guestbook.DBConnection DBConnection = null;rn ^rnrnrnrnAn error occurred at line: 2 in the jsp file: /shi/index.jsprnrnGenerated servlet error:rnD:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\shi\index_jsp.java:45: package com.guestbook does not existrn DBConnection = (com.guestbook.DBConnection) pageContext.getAttribute("DBConnection", PageContext.PAGE_SCOPE);rn ^rnrnrnrnAn error occurred at line: 2 in the jsp file: /shi/index.jsprnrnGenerated servlet error:rnD:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\shi\index_jsp.java:47: package com.guestbook does not existrn DBConnection = new com.guestbook.DBConnection();rn ^rn3 errorsrnrnrn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)rn org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rnrnrnnote The full stack trace of the root cause is available in the Tomcat logs.rnrn哪位大哥帮帮小弟我~~~~~~~~~~~~~~~~哇~~~~~~~~~~~~~~~~rn
JSP报错。 org.apache.jasper.JasperException: Unable to compile class for JSP
错误信息,已经尝试过删除Jar,之类的还是不行rn[code=text]rn2014-09-19 11:09:52,798 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/gmcrm].[jsp]] Servlet.service() for servlet jsp threw exceptionrnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>rnrnAn error occurred at line: 8 in the jsp file: /wechat/up<em>load</em>_json.jsprnGenerated servlet error:rnSyntax error on token "rnrn网页代码rn[/code]
无法编译jsp??Unable to compile class for JSP:
之前好好的 myeclipse突然卡死 重启后 启动tomcat 没报错 再进登陆就报错 任何jsp页面都报错rnrn什么情况???rnrnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>: rnrnAn error occurred at line: 22 in the generated java filernThe method getJspApplicationContext(ServletContext) is undefined for the type JspFactoryrnrnStacktrace:rn at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)rn at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)rn at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter.doFilter(StrutsExecuteFilter.java:85)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:428)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:163)rn at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)rn at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn at java.lang.Thread.run(Thread.java:619)rn2013-9-4 11:18:44 org.apache.catalina.core.ApplicationDispatcher invokern严重: Servlet.service() for servlet jsp threw exceptionrnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>: rnrnAn error occurred at line: 22 in the generated java filernThe method getJspApplicationContext(ServletContext) is undefined for the type JspFactoryrnrnStacktrace:rn at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)rn at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)rn at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)rn at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)rn at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:270)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn at java.lang.Thread.run(Thread.java:619)rn2013-9-4 11:18:44 org.apache.catalina.core.StandardHostValve customrn严重: Exception Processing ErrorPage[exceptionType=java.lang.Throwable, location=/pub/500.jsp]rnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>: rnrnAn error occurred at line: 22 in the generated java filernThe method getJspApplicationContext(ServletContext) is undefined for the type JspFactoryrnrnStacktrace:rn at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)rn at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)rn at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)rn at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)rn at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:270)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn at java.lang.Thread.run(Thread.java:619)rnrnrnrnrn
JSP错误505:Unable to compile class for JSP:
这个Jsp用来显示数据库,报错的类是 ArrayList类rn定义ArrayList 的dao:rn[code=java]package com.dao;rnrnimport java.sql.Connection;rnimport java.sql.PreparedStatement;rnimport java.sql.ResultSet;rnimport java.util.*;rnrnimport entity.Department;rnimport util.DBHelper;rnrn//部门业务逻辑类rnpublic <em>class</em> DepDAO rnrn // 获得所有部门信息rn public ArrayList getAllDepartment() rn Connection conn = null;rn PreparedStatement stmt = null;rn ResultSet rs = null;rn ArrayList list = new ArrayList();// 部门集合rn try rn conn = DBHelper.getConnection();rn String sql = "select * from department;"; // SQLrn stmt = conn.prepareStatement(sql);rn rs = stmt.executeQuery();rn while (rs.next()) rn Department dep = new Department();rn dep.setId(rs.getInt("id"));rn dep.setDepname(rs.getString("depname"));rn dep.setTotal(rs.getInt("total"));rn dep.setOrdered(rs.getInt("ordered"));rn dep.setUsed(rs.getInt("used"));rn dep.setDescription(rs.getString("description"));rn list.add(dep);// 把一个部门加入集合rn rn return list;// 返回集合rn catch (Exception ex) [/code]rnrn显示的jsp页面:rn[code=html]rnrnrnrnrnrnrnrn rn 部门-校园资源管理系统rnrnrn rn 校园资源管理系统rn 后台 rn rn rn rn rn rn 后台首页rn 部门管理rn rn 部门列表rn 新增部门rn rn 管理员管理rn rn 管理员列表rn 新增管理员rn rn 用户管理rn rn 用户列表rn 新增用户rn rn 预约情况管理rn 使用情况管理rn rn rn rn rn rn list=depDao.getAllDepartment();rn if(list!=null&&list.size()>0)rn rn for(int i=0;irn rn rn 部门rn 资源总数rn 描述rn 部门管理员rn 联系方式rn rn rn rn rn 部门管理员rn 联系方式rn rn rn [/code]rnrn第57行ArrayList这个地方报错:rnStacktrace:] with root causernorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>: rnrnAn error occurred at line: 57 in the jsp file: /dep_list.jsprnArrayList cannot be resolved to a typernrn我看了一下也导入DAO包了,实在不知道哪里出了问题,求解谢谢!
高手指点:JSP中报错,org.apache.jasper.JasperException: Unable to compile class for JSP
<em>JSP</em>中报这个错误org.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>是不是bean的编译有问题...该怎么做..请<em>高手</em>指点...rn谢谢...
JSP报错org.apache.jasper.JasperException: Unable to compile class for JSP: 求教高手
我用的MYECLIPSE5。1和Tomcat 5.5rn写了个<em>JSP</em>,代码rnrnrnrn rnrnrnrnrnrnrnrn rn rn rn rn rnrn rnrn去掉STRUTS标签就不报错了~~~~~~~rnrn报错:不能编译,又不说错在哪里。请<em>高手</em>指点一下!!!!!!rntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>: rnrnrnStacktrace:rn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)rn org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.rnrnrn--------------------------------------------------------------------------------rn
各位高手,帮忙看一下,HTTP Status 500 -,Unable to compile class for JSP 愁死了,在线
HTTP Status 500 - rnrn-------------------------------------------------------------------------------- rnrntype Exception report rnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request. rnrnexception rnrnorg.apache.jasper.JasperException: <em>Unable</em> to compile <em>class</em> for <em>JSP</em>: rnrnAn error occurred at line: 10 in the jsp file: /corrision/conn/conn.jsp rncom.mysql.jdbc.Driver cannot be resolved to a type rn7: Statement stmt; rn8: ResultSet rs; rn9: Class.forName("com.mysql.jdbc.Driver"); rn10: DriverManager.registerDriver(new com.mysql.jdbc.Driver()); rn11: String dbUrl="jdbc:mysql://localhost:3306/OA?useUnicode=true&characterEncoding=GBK"; rn12: String dbUser="root"; rn13: String dbPwd="123456"; rnrnrnStacktrace: rnorg.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) rnorg.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) rnorg.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423) rnorg.apache.jasper.compiler.Compiler.compile(Compiler.java:316) rnorg.apache.jasper.compiler.Compiler.compile(Compiler.java:294) rnorg.apache.jasper.compiler.Compiler.compile(Compiler.java:281) rnorg.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) rnorg.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) rnorg.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337) rnorg.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) rnjavax.servlet.http.HttpServlet.service(HttpServlet.java:803) rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs. rnrnrn-------------------------------------------------------------------------------- rnrnApache Tomcat/6.0.16 rnrnrnrn这是conn.jsp rn rn rn rn rn rn rnrnrn各位<em>高手</em>帮忙看一下,愁死我了,弄了一个星期了,还是没弄明白
javax.xml.ws.WebServiceException: Unable to load Provider
我用的是JDK1.5.0_22, jboss4.2.2GArn报出了如下的异常(java代码我等会会在回复中贴出来)rnException in thread "main" javax.xml.ws.WebServiceException: <em>Unable</em> to <em>load</em> Provider: Failed to <em>load</em> javax.xml.ws.spi.Provider: com.sun.xml.ws.spi.ProviderImplrn at javax.xml.ws.spi.Provider.provider(Provider.java:98)rn at javax.xml.ws.Service.(Service.java:83)rn at ws.ConverterService.(ConverterService.java:40)rn at ConverterWsTest.main(ConverterWsTest.java:5)rnCaused by: java.lang.IllegalStateException: Failed to <em>load</em> javax.xml.ws.spi.Provider: com.sun.xml.ws.spi.ProviderImplrn at javax.xml.ws.spi.ProviderLoader.<em>load</em>Provider(ProviderLoader.java:96)rn at javax.xml.ws.spi.Provider.provider(Provider.java:90)rn ... 3 morernCaused by: java.lang.ExceptionInInitializerErrorrn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:501)rn at java.lang.Class.newInstance0(Class.java:350)rn at java.lang.Class.newInstance(Class.java:303)rn at javax.xml.ws.spi.ProviderLoader.<em>load</em>Provider(ProviderLoader.java:91)rn ... 4 morernCaused by: javax.xml.ws.WebServiceException: Error creating JAXBContext for W3CEndpointReference. rn at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:188)rn at com.sun.xml.ws.spi.ProviderImpl.(ProviderImpl.java:65)rn ... 11 morernCaused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptionsrnTwo <em>class</em>es have the same XML type name "address". Use @XmlType.name and @XmlType.namespace to assign different names to them.rn this problem is related to the following location:rn at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Addressrn at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address com.sun.xml.ws.developer.MemberSubmissionEndpointReference.addrrn at com.sun.xml.ws.developer.MemberSubmissionEndpointReferencern this problem is related to the following location:rn at javax.xml.ws.wsaddressing.W3CEndpointReference$Addressrn at private javax.xml.ws.wsaddressing.W3CEndpointReference$Address javax.xml.ws.wsaddressing.W3CEndpointReference.addressrn at javax.xml.ws.wsaddressing.W3CEndpointReferencernTwo <em>class</em>es have the same XML type name "elements". Use @XmlType.name and @XmlType.namespace to assign different names to them.rn this problem is related to the following location:rn at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elementsrn at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements com.sun.xml.ws.developer.MemberSubmissionEndpointReference.referencePropertiesrn at com.sun.xml.ws.developer.MemberSubmissionEndpointReferencern this problem is related to the following location:rn at javax.xml.ws.wsaddressing.W3CEndpointReference$Elementsrn at private javax.xml.ws.wsaddressing.W3CEndpointReference$Elements javax.xml.ws.wsaddressing.W3CEndpointReference.referenceParametersrn at javax.xml.ws.wsaddressing.W3CEndpointReferencernrn at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)rn at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:438)rn at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:286)rn at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)rn at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:592)rn at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:211)rn at javax.xml.bind.ContextFinder.find(ContextFinder.java:372)rn at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)rn at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)rn at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:186)rn ... 12 morern
Unable to load configuration.
<em>Unable</em> to <em>load</em> configuration. - bean - jar:file:/D:/projects/tomcat/temp/2-training-management-portlet/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:29:72rnrn用的jar包有:rnxwork-core-2.1.6.jar,struts2-core-2.1.8.1.jar,ognl-2.7.3.jar,freemarker-2.3.15.jar,commons-logging-1.0.4.jar,commons-io-1.3.2.jar,commons-fileup<em>load</em>-1.2.1.jarrnrnstruts.xmlrnrnrn rn rn rn rn /view.jsprn rn rnrnrnweb.xmlrn struts2rn org.apache.struts2.dispatcher.FilterDispatcherrn struts2rn /* rnrn
Unable to load DLL 'sqlceme30.dll'
<em>Unable</em> to <em>load</em> DLL 'sqlceme30.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
c++调用matlab生成的dll例子下载
使用vs2008 sp1 调用 matlab2011b生成的dell,并且matlab中的函数调用包括.p文件,已经经过测试 相关下载链接:[url=//download.csdn.net/download/love_xunmeng/5136020?utm_source=bbsseo]//download.csdn.net/download/love_xunmeng/5136020?utm_source=bbsseo[/url]
企业员工资源管理OA系统源码下载
郑重声明:本文分享内容来自互联网,分享目的在于传递更多信息,帮助大家,并不代表本人赞同其观点和 对其真实性负责。如涉及作品内容、版权和其它问题,请在七日内与本人联系,我将在第一时间删除内容! [声明]本站文章版权归原作者所有,内容为作者个人观点,本人只提供参考并不构成任何投资及应用建议。 本人拥有对此声明的最终解释权。 项目说明: 用户名:admin 密 码:admin 运行环境: 硬件平台: CPU:酷睿II。 内存:1GB以上。 软件平台: 操作系统:Windows。 数据库:MySQL。 编程平台:eclipse 浏览器:IE Web服务器:tomca 相关下载链接:[url=//download.csdn.net/download/u012763020/8800453?utm_source=bbsseo]//download.csdn.net/download/u012763020/8800453?utm_source=bbsseo[/url]
简单的音乐播放器.exe下载
简单的音乐播放器.exe 相关下载链接:[url=//download.csdn.net/download/qq_30841809/9307917?utm_source=bbsseo]//download.csdn.net/download/qq_30841809/9307917?utm_source=bbsseo[/url]
相关热词 c# 线程结束时执行 c# kb mb 图片 c# 替换第几位字符 c#项目决定成败 c# 与matlab c# xml缩进 c#传感器基础 c#操作wps c# md5使用方法 c# 引用父窗口的组件
我们是很有底线的