classloading.spi.ClassLoadingException: Unable to load class [问题点数:20分]

Bbs1
本版专家分:0
结帖率 0%
关于Android导入开源项目:Error:Unable to load class 'org.gradle.api.publication.maven.internal.DefaultMavenFa...
在导入开源项目时,有可能会要求需要maven插件,并报出一下错误: 对于没有安装maven插件的开发者来说,要去下载一个maven插件也许不困难,但是,有时候可能会像我一样懒,不去下载插件,那么我们可以试着这样做: 我在网上找了一些资料看一看,发现很多都是说把相关maven插件的<em>class</em>path删除就OK了,其实不然。我的做法是: 1、删除关module下的build.gradle...
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 我运行测试的时候
报错:org.hibernate.boot.registry.classloading.spi.ClassLoadingException: Unable to load class [xxx]
org.hibernate.boot.registry.<em>class</em><em>load</em>ing.spi.ClassLoadingException: Unable to <em>load</em> <em>class</em> [MultiTenantConnectionProviderImpl] at org.hibernate.boot.registry.<em>class</em><em>load</em>ing.internal.ClassLoaderServiceIm...
CSDN-markdown编辑器语法
这里写自定义目录标题欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入 欢迎使用Ma...
Jboss加载不到数据库驱动问题解决过程记录
错误日志:22:41:44,320 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 48) MSC000001: Failed to start service jboss.persistenceunit."itoo-exam-systemmanage-dictionary-ear.ear/itoo-exam-api
Unable to load class for JSP
type Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: javax.servlet.ServletException: org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)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 sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)rn java.security.AccessController.doPrivileged(Native Method)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rn java.security.AccessController.doPrivileged(Native Method)rn org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rn java.security.AccessController.doPrivileged(Native Method)rn org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:416)rn sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rn java.security.AccessController.doPrivileged(Native Method)rn org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:112)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rn java.security.AccessController.doPrivileged(Native Method)rn org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rnrnrnroot cause rnrnjavax.servlet.ServletException: org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)rn org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:422)rn sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rn java.security.AccessController.doPrivileged(Native Method)rn java.security.AccessController.doPrivileged(Native Method)rn net.aykj.util.DomainUtil.index(DomainUtil.java:58)rn org.apache.jsp.index_jsp._jspService(index_jsp.java:57)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)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 sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)rn java.security.AccessController.doPrivileged(Native Method)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rn java.security.AccessController.doPrivileged(Native Method)rn org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rn java.security.AccessController.doPrivileged(Native Method)rn org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:416)rn sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rnrnrn
Unable to load class [com.sun.net.ssl.internal.ssl.SunJSSE_i]...
有遇到过这个问题的前辈吗?TOMCAT 7.0 .启动时候报的. rnrn警告: Unable 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!
HTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnjavax.servlet.ServletException: org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)rn org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)rnrnrnroot cause rnrnorg.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn 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:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:139)rn org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)rn com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)rn org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50)rn org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504)rn org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)rnrnrnroot cause rnrnorg.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn org.apache.jasper.JspCompilationContext.<em>load</em>(JspCompilationContext.java:620)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:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:139)rn org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)rn com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)rn org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50)rn org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504)rn org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)rnrnrnroot cause rnrnjava.lang.ClassNotFoundException: org.apache.jsp.WEB_002dINF.web.heip.HEIP01020000_jsprn java.net.URLClassLoader$1.run(Unknown Source)rn java.security.AccessController.doPrivileged(Native Method)rn java.net.URLClassLoader.findClass(Unknown Source)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:618)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:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:139)rn org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)rn com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)rn org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50)rn org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504)rn org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.rn
Unable to load configuration. - Class: org.apache.xml.utils.DOMBuilder
急求!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
测试hibernate注解时出现错误
-
配置Hibernate中的常见错误解决方案
配置hibernate中的错误解决方案:1.配置文件格式Exception in thread "main" org.hibernate.HibernateException: Error accessing stax stream at org.hibernate.boot.cfgxml.internal.JaxbCfgProcessor.unmarshal(JaxbCfgProcesso
第一个hibernate程序就出错,调了一天了。
错误信息如下: Exception in thread "main" org.hibernate.service.<em>class</em><em>load</em>ing.spi.ClassLoadingException: Spe
初学Hibernate框架遇到问题望达人帮忙
实体类 Person: public <em>class</em> Person { private Integer id; private String name; public Person() { super()
hibernate 报错 Unable to load class[com.mysql.jdbc.Driver]
报错信息: ERROR: HHH000231: Schema export unsuccessful        org.hibernate.boot.registry.<em>class</em><em>load</em>ing.spi.ClassLoadingException: Unable to <em>load</em> <em>class</em> [com.mysql.jdbc.Driver] at org.hibernate.boot.re
org.apache.jasper.JasperException: Unable to load class for JSP
当出现以下错误org.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn,tomcat就只能重新起动。要不然点击任何页面都是出现一样的错误,不知是为什么
Unable to load configuration. - Class: com.opensymphony.xwork2.config.providers.
2014-09-01 10:04:36,335 ERROR -Dispatcher initialization failedrnUnable 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: Unable 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\webapprnUnable 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: Unable 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项目启动就报错,什么情况
Unable to load class for JSP 求救
一个SSH项目,在本地上运行一点问题都没有rn上传到服务器上后运行就会出现如下的错误,怎么回事呢?急急急!!!在线等...rnexception rnrnorg.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn 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: Unable to <em>load</em> <em>class</em> for JSPrn不知道是为什么引起的?
求助:hibernate运行报错,求大神帮忙
小弟初学hibernate,用的是hibernate4.1.9,运行时报MappingException 错误信息: org.hibernate.MappingException: Unable to
Caused by: java.lang.ClassNotFoundException: Could not load requested class : org.h2.Driver
1、错误描述 WARN:2015-05-01 13:26:10[localhost-startStop-1] - HHH000402: Using Hibernate built-in connection pool (not for production use!) WARN:2015-05-01 13:26:10[localhost-startStop-1] - Exception enco
Hibernate 异常 集锦
异常1.Error parsing JNDI name [foo] 异常信息摘要: org.hibernate.engine.jndi.JndiException: Error parsing JNDI name [foo] at org.hibernate.engine.jndi.internal.JndiServiceImpl.parseName(JndiS...
Caused by: org.hibernate.service.classloading.spi.ClassLoadingException: Specified JDBC Driver com.m
Caused by: org.hibernate.service.<em>class</em><em>load</em>ing.spi.ClassLoadingException: Specified JDBC Driver com.mysql.jdbc.Driver <em>class</em> not found 差JDBC驱动 项目中缺少mysql的JDBC驱动包
配置hibernate时出错原因及解决方案
问题1   hibernate.cfg.xml配置文件         "-//Hibernate/Hibernate Configuration DTD 3.0//EN"         "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
Unable to load class for JSP(在线等高手)
小弟刚自学jsp,写了个很简单的bean,可是在jsp文件中加载的时候出错rn错误信息如下rnorg.apache.jasper.JasperException: /WebRoot/1.jsp(11,1) The value for the useBean <em>class</em> attribute bean.unit4.Circle is invalid.rn org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)rn org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)rn org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)rn org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1233)rn org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1178)rn org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)rn org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)rn org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417)rn org.apache.jasper.compiler.Node$Root.accept(Node.java:495)rn org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)rn org.apache.jasper.compiler.Generator.generate(Generator.java:3459)rn org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:231)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrn把页面刷新几次后就变成了rnrnorg.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:161)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrnroot causernrnorg.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn org.apache.jasper.JspCompilationContext.<em>load</em>(JspCompilationContext.java:630)rn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:149)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrnroot causernrnjava.lang.ClassNotFoundException: org.apache.jsp.WebRoot._1_jsprn java.net.URLClassLoader$1.run(Unknown Source)rn java.security.AccessController.doPrivileged(Native Method)rn java.net.URLClassLoader.findClass(Unknown Source)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:628)rn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:149)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrn不知道是什么原因,myeclipse是9.0的,自动编译,.<em>class</em>也是和bena同结构的目录中,放在WEB-INF/<em>class</em>es里面rn请高手告诉一下,tomcat是6.0
Unable to load class for JSP(急急!在线等)
[color=#FF0000]我在MyEclipse->file->new->Web Project 然后取项目名Test,选择的是J2EE1.4创建完成。然后在我创建的项目Test下的WebRoot下新建下Random文件夹,然后在里面新建Random.jsp文件。该文件(Test/WebRoot/Random/Random.jsp)代码如下[/color]:rnrnrnrnrnrnrnrnrnrnrnrn rn Insert title herernrnrn255) fc=255;rnif(bc>255) bc=255;rnint red=fc+r.nextInt(bc-fc);//红rnint green=fc+r.nextInt(bc-fc);//绿rnint blue=fc+r.nextInt(bc-fc);//蓝rnreturn new Color(red,green,blue);rnrn%>rnrnrnrnrnrnrn[color=#FF0000]运行该页面出现错误如下:[/color]rnrnrnexception rnrnorg.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn 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: Unable to <em>load</em> <em>class</em> for JSPrn 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)rnrn[color=#FF0000]哪位高手指点下,是什么原因,先谢了。[/color]rnrnrnrnrn
Plug-in taskFlow was unable to load class gef.editor.application.Application.
运行一个由插件改为rcp的程序时,跳出了这个问题。rn求教是什么原因。rn[size=14px][b]Plug-in taskFlow was <em>unable</em> 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 <em>unable</em> 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
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("JSP 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文件,再编写JSP文件:rnrnrnrnrnrn 在您的购物车中有以下的书目:rn rnrnrn rn总金额为:rnrnrn rn rn rn请选择添加或者删除您想购买的书目:rn rnrnThinking in JavarnCore Java 2rnSpecial Edition Using Java 2rnJava CodingrnJSP HandBookrnrn rnrnrnrnrn在IE中运行就出现错误了:rnorg.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn 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: Unable to <em>load</em> <em>class</em> for JSPrn 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: Unable to <em>load</em> <em>class</em> for JSP错误,这是什么原因呢?怎么能解决呢?帮帮忙,谢谢啦!rnsystemmood,我的项目名rnjsp,项目下的文件夹rnheader.jsp,想显示的文件名rnheader.html,能显示的文件名
org.eclipse.ajdt.ui was unable to load class org.eclipse.ajdt.internal.ui.ajde.CachedRuntimeClasspathEntryResolver (分享)
Plug-in org.eclipse.ajdt.ui was <em>unable</em> 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 for JSP
源码如下:rnrnrnrnrnrn rnloginrnrnrnrn rnrnrnrnrn感觉是环境配置问题,但是不知怎样修正,这个的前一个界面是登陆,刚开始报下面的错,rntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: Unable to compile <em>class</em> for JSP: rnrnAn error occurred at line: 12 in the jsp file: /WebRoot/login.jsprnop_user cannot be resolved to a typern9: rn10: rn11: rn12: );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: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:317)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)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.rnrn连续刷新两次以后就报这个错:rntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn 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: Unable to <em>load</em> <em>class</em> for JSPrn 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.WebRoot.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: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)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.rnrn
在线等,jsp文件Unable to load class for JSP!!
我的环境:rnhttp://localhost:808/develop/rn能够打开develop下的jsp文件!develop是我在tomcat下的webapps建的目录,rn在develop目录下我建了WEB-INF, 和lib目录rnWEB-INF\db\DBconn.<em>class</em> 这是我访问数据库的beanrn代码:rn package db;rnimport java.sql.*; rn import javax.naming.*; rn rn public <em>class</em> DBconn rn rn java.sql.Connection Conn = null; rn javax.sql.DataSource ds = null; rn java.sql.ResultSet rs = null; rn rn public DBconn() rn try rn Class.forName( "oracle.jdbc.driver.OracleDriver ").newInstance(); rn String url= "jdbc:oracle:thin:@localhost:1521:XBH"; rn String user= "jspdev"; rn String password= "6716012"; rn Conn= DriverManager.getConnection(url,user,password); rn rn catch(Exception e) rn Conn = null; rn System.out.print( "Error To Create Connection "); rn rn rn rn rn public ResultSet executeQuery(String sql) rn rs=null; rn try rn Statement stmt=Conn.createStatement(); rn rs=stmt.executeQuery(sql); rn catch (SQLException ex) rn Conn = null ; rn rs = null; rn System.err.println( "aq.execute-Query: "+ex.getMessage()); rn rn return rs; rn rn rn rn rnrnrn-------------------------------------------rnWEB-INF\lib\<em>class</em>es12.jar, 另外在tomcat\common\lib也有<em>class</em>es.jar文件rnrn这是我测试数据库的文件:rnrn rnrnrnrnrn以下是从Oracle数据库读取的数据: rn rn id booknamepublisher pricern rn rnrnrn rnrn报错:rnexception:org.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrnrootcause:java.lang.ClassNotFoundException: org.apache.jsp.login_005fconfirm_jsprn另外WEB-INF下没有其他web.xml配置文件!!rnrn 急啊!!!!!!!!毕业设计快结束了,基本的数据库还没搞定rn谢谢!!rn我在线等!rnrn
Unable to load class base是什么原因?
在测试国际化的例子中,JSP如下: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整了好多天了,求高手指点一二!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 struts2rnUnable 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) - Unable 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
Unable to <em>load</em> <em>class</em> com.microsoft.jdbc.sqlserver.SQLServerDriverrn谁能告诉我如何配置?
急!!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 -
Unable 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??实在搞不定了,试了很多方法都不行,请高手帮忙。
Unable to load class for JSP :jsp移植到linux
在window下程序运行正常,但移植到linux下后会提示Unable to <em>load</em> <em>class</em> for JSP, 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
javax.xml.ws.WebServiceException: Unable to load Provider
我用的是JDK1.5.0_22, jboss4.2.2GArn报出了如下的异常(java代码我等会会在回复中贴出来)rnException in thread "main" javax.xml.ws.WebServiceException: Unable 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.
Unable 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'
Unable to <em>load</em> DLL 'sqlceme30.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Unable to load CTLIB.DLL
Unable to <em>load</em> CTLIB.DLL 这是为什么呢?谁遇到过?rn如何解决?rn我找了我机子的所有文件里,都没有发现这个动态库,在我的机子运行正常,有在有些机子上就不成。rn客户端连库是sybase。
unable to load gds32.dll"">"unable to load gds32.dll"
"<em>unable</em> to <em>load</em> gds32.dll"rn何解?
unable to load oracle.dll...etc
一运行PHP文件就出现<em>unable</em> to <em>load</em> c:\php/oracle.dll...etcrnrn最后网页也不能正常显示,只显示个空白页面rnrnrnrnrn
unable to load libmysql.dll的错误
我是在Delphi7.05的基础上升级到7.1的,但在设计状态下可以打开SQLConnection,而在运行的时候,总是会报<em>unable</em> to <em>load</em> libmysql.dll的错误,可是我已经将该libmysql.dll拷贝在system32目录下,请问是什么原因???rn
Unable to load dynamic library
PHP Warning: PHP Startup: Unable to <em>load</em> dynamic library 'D:\\Program Files\\php\\ext\\php_pdo_mysql.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3\r\n in Unknown on line 0rnrn这个文件是有的啊
Unable to load local categories!
在前台配置数据源时,报错!rnTest connection was NOT successful....Unable to <em>load</em> local categoriesrn怎么解决,不吝赐教!
Strus2 Unable to load configuration.
程序启动的时候报错:n严重: Exception starting filter struts2nUnable to <em>load</em> configuration. - action - file:/home/yinyutai/self/app/Tomcat/apache-tomcat-7.0.75/webapps/day24_struts1/WEB-INF/<em>class</em>es/struts.xml:7:85n at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:502)n at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)n at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)n at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)n at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)n at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)n at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4958)n at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5652)n at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)n at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)n at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)n at java.util.concurrent.FutureTask.run(FutureTask.java:266)n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)n at java.lang.Thread.run(Thread.java:745)nCaused by: Unable to <em>load</em> configuration. - action - file:/home/yinyutai/self/app/Tomcat/apache-tomcat-7.0.75/webapps/day24_struts1/WEB-INF/<em>class</em>es/struts.xml:7:85n at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)n at org.apache.struts2.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:446)n at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)n ... 14 morenCaused by: Action <em>class</em> [com.itheima.web.action.HelloAction] not found - action - file:/home/yinyutai/self/app/Tomcat/apache-tomcat-7.0.75/webapps/day24_struts1/WEB-INF/<em>class</em>es/struts.xml:7:85n at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:482)n at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:426)n at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:552)n at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Packages(XmlConfigurationProvider.java:292)n at org.apache.struts2.config.StrutsXmlConfigurationProvider.<em>load</em>Packages(StrutsXmlConfigurationProvider.java:112)n at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:250)n at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)n ... 16 moren但是看了提示的那个位置,写的是:n![ 那个位置是method="sayHello"](https://img-ask.csdn.net/up<em>load</em>/201702/13/1486997072_241307.png) 没发现有什么错误!n![这是引用的jar文件](https://img-ask.csdn.net/up<em>load</em>/201702/13/1486997384_259839.png)nHelloAction.java:n package com.itheima.web.action;n/**n * Struts2入门案例n * @author rootn *n */npublic <em>class</em> HelloAction n /**n * 在动作类中制定的动作方法n * 动作方法的书写要求:n * 1.都是public的n * 2.返回值必须是Stringn * 3.必须没有参数n * @returnn */n public String sayHello() n System.out.println("sayHello,方法执行了!");n return "success";n nnnweb.xml:nn nn day24_struts1n n n n struts2n org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFiltern n n struts2n /*n n n n index.jspn nnnn请大神,给看下,这是一个Struts2的一个小例子但是没有启动起来不知到错误出在哪里,谢谢。
Kylix: Unable to load libgds.so ???
到/use/lib一看了一下,rnlibgds.so是属root,rn我以root登录把其改为kylix:kylix后,rn还是这这样,我又把libgds.so cp 到/home/kylix/kylix3/bin 目录下,还是不行!!rn请各位帮帮忙呀??感激不尽!!rnrn
unable to load xx.dll
运行时候程序的时候就出现这个错误!rn有哪位大哥知道怎么解决?
Unable to load bean错误!
[code=XML]2010-05-20 13:19:48,656 ERROR (org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/tjsm]:3604) - Exception starting filter struts2rnUnable to <em>load</em> bean: type:com.opensymphony.xwork2.ObjectFactory <em>class</em>:org.apache.struts2.impl.StrutsObjectFactory - bean - jar:file:/F:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/tjsm/WEB-INF/lib/struts2-core-2.0.11.2.jar!/struts-default.xml:31:124rn 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:223)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:77)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3600)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4189)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)rn at org.apache.catalina.core.StandardService.start(StandardService.java:450)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:551)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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Bean type <em>class</em> com.opensymphony.xwork2.ObjectFactory with the name struts has already been <em>load</em>ed by bean - file:/F:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/tjsm/WEB-INF/<em>class</em>es/struts-default.xml:32:57 - bean - jar:file:/F:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/tjsm/WEB-INF/lib/struts2-core-2.0.11.2.jar!/struts-default.xml:31:124rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:193)rn ... 33 more[/code]rn以上是错误代码,struts-default.xml文件如下:rn[code=XML]rnrnrnrn rn rnrn rn rnrn rn rn rn rn rn rn rn rn rnrn rnrn rn rnrn rn rn rn rnrn rn rn rn rnrn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn[/code]
Unable to load DLL (db2_36).
想请教一个技朮问题﹐我在研究.net&DB2技朮的时候﹐我自已重写啦一个.NET DataProvider for DB2﹐在调用的时候发生这样的错误﹐请帮帮小弟rnError:rnUnable to <em>load</em> DLL (db2_36).rn
水晶报表unable to load report
vb自带的水晶报表4.6,很奇怪的一个问题,我用ODBC连接数据库生成的报表可以打开。但我用数据库文件连接的ACCESS数据库却提示<em>unable</em> to <em>load</em> report.
Unable to load locale categories.
rnrnrnA机远程执行rnrnrsh B . /home/zhichi/.profile 2>&- \;. /home/ceshi/out.sh >> /home/ceshi/log/a.log 2>&1rnrn刚开始报的错是dbaccess: command not foundrnrn修改out.sh文件的路径后报错是-23101 Unable to <em>load</em> locale categories.rnrninformix的sysdbslocale表结果rndbs_dbsname dcomsrndbs_collate zh_CN.5488rnrn用户.bash_profile文件内为rnexport LANG=en_US.819rnexport DB_LOCALE=zh_CN.GB18030-2000rnexport CLIENT_LOCALE=zh_CN.GB18030-2000rnexport SERVER_LOCALE=zh_CN.GB18030-2000rnrnB机执行/home/ceshi/out.sh >> /home/ceshi/log/a.log 2>&1 ,结果一切正常rnrn请问是什么原因?rnrn
struts2 Unable to load configuration
tomcat启动总是报错,jar文件是我从struts2的app文件中拷贝的,但是启动仍然报错rn严重: Error starting static Resourcesrnjava.lang.IllegalArgumentException: Document base D:\yang.files\SkyDrive\JavaWebWorkspace\file_up<em>load</em>\WebRoot does not exist or is not a readable directoryrn at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)rn at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5055)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5235)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)rn at java.lang.Thread.run(Thread.java:662)rn2013-9-16 19:18:41 org.apache.catalina.core.StandardContext startInternalrn严重: Error in resourceStart()rn2013-9-16 19:18:41 org.apache.catalina.core.StandardContext startInternalrn严重: Error getConfiguredrn2013-9-16 19:18:41 org.apache.catalina.core.StandardContext startInternalrn严重: Context [/up<em>load</em>] startup failed due to previous errorsrn2013-9-16 19:18:42 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider inforn信息: Parsing configuration file [struts-default.xml]rn2013-9-16 19:18:42 org.apache.struts2.dispatcher.Dispatcher errorrn严重: Dispatcher initialization failedrnrn这个到底该怎么解决啊,谢谢指点!
Unable to load configuration. - package
我改了一个类的名字,其中有个错误,改了以后就访问不了网页了,显示错误Unable to <em>load</em> configuration. - packagern这是怎么回事?
Unable to Load dbodbc8.dll
使用dbExpress来连接Sybase数据库,已经安装了Sybase的驱动,可是测试连接的时候出现:Unable to Load dbodbc.dll,去找这个驱动也没有,求高手指点!!!
unable to load msobj80.dll
我在win7 32bit机器上编写了一个程序(unicode字符集),debug和release都可以产生exe程序,将其拿到win7 64bit机器上运行不了,于是我就将工程放到64位机器上重新编译,这时可产生debug版本的exe,但在编译release版本时出现了link错误:<em>unable</em> to <em>load</em> msobj80.dll. 谁能告诉我怎么弄?先谢了rn另外我的程序放到xp系统机器上运行,其中的一个功能会出现“未知错误”;怎么样将在一台机器(不管什么系统)编辑一个vc程序,在所有系统上都能运行呢?
delphi2007 unable to load project
最近要用到delphi2007打开一个项目,但是装了好几遍,打开或新建项目时都出现如下问题:rn<em>unable</em> to <em>load</em> project:E:\pemsystem.dproj(为项目路径)rnAccess violation at address 00000000. Read of address 00000000rn
org.apache.jasper.JasperException: Unable to load class for JSP是什么原因请帮帮忙!
org.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn 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
struts2.5.5与spring3.4.4集成报错:Unable to load config class I18nInterceptor
[b]遇到的问题:[/b]rnUnable to <em>load</em> config <em>class</em> org.apache.struts2.interceptor.I18nInterceptor at interceptorrnrnorg.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [com.opensymphony.xwork2.LocaleProvider] is defined:rnrnUnable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your <em>class</em>pathrnrn[b]问题原因:[/b]rn这struts2的配置和spring4的action bean配置有关rnstruts2配置:rn[code=html][/code]rnspring4的action bean配置配置rn[code=html] rn rn rn rn [/code]rnrn[b]解决办法:[/b]rn修改spring配置为:rn[code=html] rn rn rn rn [/code]rn上面加上了autowire="no" autowire-candidate="false" ,问题解决!rnrn另外附struts2.5.5与spring4.3.3集成的注意细节:rn如果使用了struts的动态方法调用rn[code=html][/code]rn对于struts2.5.5 package需要加上strict-method-invocation="false"rn[code=html][/code]
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) Unable 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
问:jsp自定义标签的问题Unable to load tag handler class
Tomcat下编译出现的问题:rnorg.apache.jasper.JasperException: /jsp/taginfo.jsp(10,1) Unable 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
HTTP Status 500 - org.apache.jasper.JasperException: Unable to load class for JS
Intellig IDEA14 部署tomcat出现以下错误,该如何解决rnrnHTTP Status 500 - org.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSrnrntype Exception reportrnrnmessage org.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrnrndescription The server encountered an internal error that prevented it from fulfilling this request.rnrnexceptionrnrnorg.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:161)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:723)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rnroot causernrnorg.apache.jasper.JasperException: Unable to <em>load</em> <em>class</em> for JSPrn org.apache.jasper.JspCompilationContext.<em>load</em>(JspCompilationContext.java:630)rn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:149)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:723)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rnroot causernrnjava.lang.ClassNotFoundException: org.apache.jsp.index_jsprn java.net.URLClassLoader$1.run(URLClassLoader.java:372)rn java.net.URLClassLoader$1.run(URLClassLoader.java:361)rn java.security.AccessController.doPrivileged(Native Method)rn java.net.URLClassLoader.findClass(URLClassLoader.java:360)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:628)rn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:149)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:723)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.44 logs.
调用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 the class for jsp的报错
我的环境是:tomcat5.5 ,路径为F:\tomcat5.5;rn我的JSP路径: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: Unable to compile <em>class</em> for JSPrnrnAn 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: Unable to compile <em>class</em> for JSPrnrnAn 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
JSP+与mysql连接时Unable to load class org.git.mm.mysql.driver=============
如题:rn我用的是jswdk,rn--------------------------------------------------rn rn rn rn rn rn您的第一个字段内容为: rn您的第二个字段内容为: rn rn rn rn rnrn-------------------------------------------rn怎么运行时,有Unable to <em>load</em> <em>class</em> org.git.mm.mysql.driver错误,rn我的<em>class</em>path也都设置成了:D:\jdk1.2.2\lib;D:\jdk1.2.2\lib\jdbc2_0-stdext.jarrn其中jdbc2_0-stdext.jar是我下载:mysql-connector-java-3.0.10-stable.rar得到的。rn我不明白 org.git.mm.mysql.driver 要不要进行什么设置,rn在mysql-connector-java-3.0.10-stable.rar里有一个这样的文件夹:rnorg/git/mm/mysql/driver/ 要不要把它copy到什么地方?rnrn高手快求求我吧!!!!
load a class specified in your ejb-jar.xml"怎么办?急!!">"Unable to load a class specified in your ejb-jar.xml"怎么办?急!!
我用的是WebLogic8.1开发,在服务器上配置EJB的时候告诉我这个异常,但是看ejb-jar.xml似乎没什么毛病,可就是配置不上啊,是不是问题并不是出现在这个文件上阿,怎么回事?
eclipse + SDK6.0 unable to load class com/nokia/mid/ui/FullCanvas
编译通过。运行时报ALERT: Unable to <em>load</em> <em>class</em> com/nokia/mid/ui/FullCanvasrn是什么原因呀rn说用nokia 的模拟器。不什么用
jsp 网站移植到linux后 出现 unable to load class for jsp
我在windows下面建好的jsp网站移植到linux后运行出现 <em>unable</em> to <em>load</em> <em>class</em> for jsp (调用javabean时出现) 我自己单独写了一个查询数据库的页面可以运行,但是一用到bean就出问题 按照网上说的我把换成了rnrnrn提示我说ConnDb cannot be resolved to a type rn然后就提示我说"ConnDB m =...."这行有错误rn请问哪位高手能帮我解答这个问题啊 rnPS:我这个问题与别人不同的是移植到了linux后出现的,程序在windows下面可以正常运行,按照网上的我重新配置了环境(我觉得环境应该没有问题,因为单独写的查询数据库的页面可以正常运行) 谢谢
大哥们帮忙看下:Unable to load class for JSP
错误信息:rnexception rnrnorg.apache.jasper.JasperException: [color=#FF0000]Unable to <em>load</em> <em>class</em> for JSP[/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
EJB部署出错: Unable to load a class specified in your ejb-jar.xml
如题,我的开发环境是:Eclipse3.12+myEclipse4.0,EJB容器是weblogic server 9.1.在部署EJB时出现错误,具体如下:rn激活更改期间出错,有关详细信息,请查看日志。 rnException preparing module: EJBModule(HelloWorld) Unable to deploy EJB: C:\eclipse\workspace\EJBHelloworld\<em>class</em>es\HelloWorld.jar from HelloWorld.jar: Unable to <em>load</em> a <em>class</em> specified in your ejb-jar.xml: exapmleOne.ejb.HelloBean rnSubstituted for the exception weblogic.ejb.container.deployer.DeploymentDescriptorException which lacks a String contructor, original message - Unable to <em>load</em> a <em>class</em> specified in your ejb-jar.xml: exapmleOne.ejb.HelloBean rn请达人请点.另外,我也不太清楚怎么部署EJB,只是通过http://localhost:7001/console在"域结构"下的"部署"那里直接点"安装",不知对不对,请不吝赐教.谢谢!!!rn
在jsp页面应用用struts,运行时提示:Unable to load class form
是什么原因
Unable to load tag handler class "org.springframework.web.servlet.tags.form.FormTag" for tag "forms:form"
如题spring表单出错不知道是怎么的原因麻烦解答一下
Unable to compile class for JSP
总是提示错误:rnorg.apache.jasper.JasperException: Unable to compile <em>class</em> for JSP: 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: Unable to compile <em>class</em> for JSP: 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)
ssh整合:Unable to load configuration?
在整合ssh时,发现tomcatcat里报告如下错误,怎么破? rnrn下面是tomcat的启动报错:rnrncom.opensymphony.xwork2.util.logging.commons.CommonsLogger errorrn??: Dispatcher initialization failedrnUnable to <em>load</em> configuration. - bean - jar:file:/Users/wo/Desktop/test/.metadata/.me_tcat/webapps/testIn/WEB-INF/lib/struts2-spring-plugin-2.2.1.jar!/struts-plugin.xml:29:132rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:371)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:415)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)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 org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:606)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Unable to <em>load</em> bean: type:com.opensymphony.xwork2.ObjectFactory <em>class</em>:org.apache.struts2.spring.StrutsSpringObjectFactory - bean - jar:file:/Users/dong/Desktop/test/.metadata/.me_tcat/webapps/testIn/WEB-INF/lib/struts2-spring-plugin-2.2.1.jar!/struts-plugin.xml:29:132rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:232)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:180)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 31 morernCaused by: java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextAwarern at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:800)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.findClassInternal(WebappClassLoader.java:1817)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.findClass(WebappClassLoader.java:872)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1325)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1204)rn at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:800)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.findClassInternal(WebappClassLoader.java:1817)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.findClass(WebappClassLoader.java:872)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1325)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1204)rn at com.opensymphony.xwork2.util.ClassLoaderUtil.<em>load</em>Class(ClassLoaderUtil.java:149)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:203)rn ... 34 morernCaused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContextAwarern at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1358)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1204)rn ... 50 more
java.lang.UnsatisfiedLinkError: Unable to load library 'IDGatherIdentifyDll'
在使用JNA时碰到如下问题rnException in thread "Main Thread" java.lang.UnsatisfiedLinkError: Unable to <em>load</em> library 'IDGatherIdentifyDll': ???????¨rn at com.sun.jna.NativeLibrary.<em>load</em>Library(NativeLibrary.java:166)rn at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:239)rn at com.sun.jna.Library$Handler.(Library.java:140)rn at com.sun.jna.Native.<em>load</em>Library(Native.java:393)rn at com.sun.jna.Native.<em>load</em>Library(Native.java:378)rn at com.yinzhijie.identify.jna.ReaderJNA.(ReaderJNA.java:21)rn at com.yinzhijie.identify.common.ReadCardUtils.openconn(ReadCardUtils.java:27)rn at com.yinzhijie.identify.views.MainView$1.widgetSelected(MainView.java:254)rn at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)rn at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)rn at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)rn at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)rn at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3294)rn at com.yinzhijie.identify.views.MainView.open(MainView.java:58)rn at com.yinzhijie.identify.views.LoginDialog$1.widgetSelected(LoginDialog.java:128)rn at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)rn at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)rn at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)rn at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)rn at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3294)rn at com.yinzhijie.identify.views.LoginDialog.open(LoginDialog.java:64)rn at com.yinzhijie.identify.main.MainEnter.main(MainEnter.java:33)rn代码如下:rnReaderJNA INSTANCE = (ReaderJNA) Native.<em>load</em>Library("IDGatherIdentifyDll",rn ReaderJNA.<em>class</em>);rn如何解决,求帮助
unable to load file from(...web.xml....)
我把已经做好的一个工程,拷到另一台机器上,用JBuilder打开编译时就会提示:<em>unable</em> to <em>load</em> file from(...web.xml....)和java.sun.com 到底是什么原因啊?整了一天都没有找到原因
JavaFx2.0官方教程中文翻译下载
JavaFx2.0官方教程中文翻译文档,共36章节,并有一个国际象棋实际开发程序。 相关下载链接:[url=//download.csdn.net/download/wyf9456/3984575?utm_source=bbsseo]//download.csdn.net/download/wyf9456/3984575?utm_source=bbsseo[/url]
串口资料(移动开发)下载
很好的串口资料,可以更好地了解串口,更好的学习移动开发 相关下载链接:[url=//download.csdn.net/download/lujianing2011/4289253?utm_source=bbsseo]//download.csdn.net/download/lujianing2011/4289253?utm_source=bbsseo[/url]
小型录音机下载
小型录音机,适合随时录音,完美呈现!希望大家喜欢! 相关下载链接:[url=//download.csdn.net/download/u014672249/7180983?utm_source=bbsseo]//download.csdn.net/download/u014672249/7180983?utm_source=bbsseo[/url]
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池
我们是很有底线的