插件项目一启动就报错。急急急!!!

插件项目启动这种错 是什么意思?

!ENTRY org.eclipse.osgi 4 0 2017-11-20 14:59:48.729
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.(ModelServiceImpl.java:122)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:511)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:204)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at com.fiberhome.ason.platform.runtime.PlannerApplication.start(PlannerApplication.java:29)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)

求解决!!!

2个回答

java.lang.NullPointerException 空指针 看不到吗

空指针怎么会在启动项目的时候出现?肯定是你操作了吧。。运行时异常在编译完出现?

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
一加项目启动就报错
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnjava.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)Vrn at org.apache.commons.logging.impl.SLF4JLocationAwareLog.trace(SLF4JLocationAwareLog.java:107)rn at org.springframework.core.CollectionFactory.createConcurrentMapIfPossible(CollectionFactory.java:195)rn at org.springframework.web.context.ContextLoader.(ContextLoader.java:153)rn at org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:53)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:44)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)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:546)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)rn at org.apache.catalina.core.StandardService.start(StandardService.java:519)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:581)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:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn
solr项目启动TOMCAT时报错,急急急
最近做了个WEB项目的小例子,项目中用到了SOLRJ来做二次开发,但在启动TOMCAT时,报了以下的错误rn2006-4-10 11:42:24 org.apache.catalina.core.StandardHost startrn信息: XML validation disabledrn11:43:32,171 ERROR ContextLoader:220 - Context initialization failedrn[color=#FF0000]java.lang.NoClassDefFoundError: org/apache/solr/client/solrj/SolrServerException[/color] at java.lang.Class.getDeclaredConstructors0(Native Method)rn at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)rn红色部分的类所在的JAR包(solr-solrj-3.6.jar)也引进项目里了,但启动时老报找不到这个类的错。在此希望哪位大牛能够指点指点下,谢谢。
ssh集成的项目,一启动tomcat,就报错。
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cstlostdao' defined in class path resource [applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'sessionFatory' of bean class [com.crm1.common.dao.hibimpl.CstLostDao]: Bean property 'sessionFatory' is not writable or has an invalid setter method. Did you mean 'sessionFactory'?rnCaused by: rnorg.springframework.beans.NotWritablePropertyException: Invalid property 'sessionFatory' of bean class [com.crm1.common.dao.hibimpl.CstLostDao]: Bean property 'sessionFatory' is not writable or has an invalid setter method. Did you mean 'sessionFactory'?rnrnSpring的配置文件如下:rnrn rn rn rn rn rn rn rn rn rnrn rn rn rnrnrn rn rn rn rn rn
(急急急)为何新创建的线程一启动就停止了.
代码如下:rnrn private void MainForm_Load(object sender, EventArgs e)rn rn Thread DeleteT = new Thread(new ThreadStart(DeleteData));rn DeleteT.Start();rn rnDeleteData的函数原形如下:rn public static void DeleteData()rn rn DBOperater.ArchiveRecord(Conn);//这里是静态方法.rn rn通过断点监视线程DeleteT 一直处于Stopped状态.rn请问这是为什么?rnrn
急急急,我的电脑一启动就自动更新系统
昨天我的电脑IE打不开了,我就更新了window系统,rn现在一开机就先更新系统.各位高手,请问我怎么能取消系统自动更新呀?
急急急!!!!程序在server上一启动就自动关闭!!!!!
rtrn没有任何的error message,就是在启动后的1到2秒自动关闭
急急急!struts2标签用不了!一用就报错!
我是用ssh2框架,在jsp页上使用struts2标签就报下面的错,struts2包是用 struts2-core-2.1.8.1.jar,但是可以用,在debug里面可以看到 users [com.taomei.model.TfUser@13985fc]和user com.taomei.model.TfUser@13985fc ,users是list类型,user是一个实体类型,我在jsp页面可以$user.VUserName这样取到值,就是用sturts2标签时报错。。rnrnValueStack类里的findValue方法的确存在的,我查过!rnrnrn2011-5-25 17:35:27 org.apache.catalina.core.ApplicationDispatcher invokern严重: Servlet.service() for servlet jsp threw exceptionrnjava.lang.NoSuchMethodError: com.opensymphony.xwork2.util.ValueStack.findValue(Ljava/lang/String;Ljava/lang/Class;Z)Ljava/lang/Object;rn at org.apache.struts2.components.Property.start(Property.java:141)rn at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:53)rn at org.apache.jsp.user.index_jsp._jspx_meth_s_005fproperty_005f0(index_jsp.java:396)rn at org.apache.jsp.user.index_jsp._jspService(index_jsp.java:117)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)rn at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:154)rn at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)rn at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:361)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:265)rn at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:163)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:249)rn at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:148)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:128)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:148)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:128)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)rn at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)rn at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)rn at java.lang.Thread.run(Thread.java:619)
SSH框架整合,tomcat一启动就报错,求解!急!感激不尽!
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Cannot locate BeanDefinitionDecorator for element [property-placeholder]rnOffending resource: file [D:\MyEclipse\.metadata\.me_tcat\webapps\OA\WEB-INF\classes\spring\applicationContext.xml]rn at org.springframework.beans.factory.parsing.FailFastProblemReporter.fatal(FailFastProblemReporter.java:59)rn at org.springframework.beans.factory.parsing.ReaderContext.fatal(ReaderContext.java:68)rn at org.springframework.beans.factory.parsing.ReaderContext.fatal(ReaderContext.java:55)rn at org.springframework.beans.factory.xml.NamespaceHandlerSupport.findDecoratorForNode(NamespaceHandlerSupport.java:119)rn at org.springframework.beans.factory.xml.NamespaceHandlerSupport.decorate(NamespaceHandlerSupport.java:97)rn at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.decorateIfRequired(BeanDefinitionParserDelegate.java:1372)rn at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.decorateBeanDefinitionIfRequired(BeanDefinitionParserDelegate.java:1359)rn at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.decorateBeanDefinitionIfRequired(BeanDefinitionParserDelegate.java:1339)rn at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.processBeanDefinition(DefaultBeanDefinitionDocumentReader.java:260)rn at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:153)rn at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132)rn at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)rn at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)rn at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)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:601)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnrn上面的是错误信息,下面的是我的配置文件:rnweb。xmlrnrn rn org.springframework.web.context.ContextLoaderListenerrn rn rn contextConfigLocationrn classpath:spring/*.xmlrn rn rn rn rn struts2rn org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterrn rnrn rn struts2rn /*rn rnrnstruts.xmlrnrn rn rn rn rn rn rnrn rn rn rn /index.jsprn rn rn rnrnrnrnapplicationContext.xmlrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn求大神详解!
急~~~~weblogic 9.2 启动就报错
现在weblogic9.2启动就开始报错,只报两个错误,请高手分析下什么原因.现在一启动过一天左右 java.exe 的CPU就占70%多,直接当机....这两个错误都是什么原因啊,半分种就报一次.不停的出......rnrn=======================第一个=========================================rnrn####<2007-5-4 上午11时47分50秒 CST> <[ACTIVE] ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1178250470797> <[weblogic.servlet.internal.WebAppServletContext@186e2f4 - appName: '5szone', name: 'up', context-path: ''] Servlet failed with Exceptionrnjava.lang.ClassCastException: javax.servlet.http.NoBodyResponsern at weblogic.servlet.internal.ServletResponseImpl.getOriginalResponse(ServletResponseImpl.java:1354)rn at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:95)rn at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)rn at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)rn at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)rn at javax.servlet.http.HttpServlet.doHead(HttpServlet.java:316)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rn at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)rn at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)rn at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)rn at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)rn at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:183)rn at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:125)rn at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:107)rn at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:78)rn at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:383)rn at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)rn at com.xinnuo.util.CharsetFilter.doFilter(CharsetFilter.java:49)rn at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)rn at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)rn at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)rn at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)rn at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)rn at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)rn at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)rn at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)rn> rnrnrnrn==============================第二个=====================================rnrn####<2007-5-4 上午11时47分53秒 CST> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1178250473219> <[weblogic.servlet.internal.WebAppServletContext@186e2f4 - appName: '5szone', name: 'up', context-path: ''] Root cause of ServletException.rnjavax.servlet.jsp.JspException: Input/output error: java.net.SocketException: socket write error: Connection reset by peer.rn at org.apache.struts.taglib.TagUtils.writePrevious(TagUtils.java:1250)rn at org.apache.struts.taglib.logic.IterateTag.doAfterBody(IterateTag.java:346)rn at jsp_servlet._web_45_inf._jsp._bbs._luntan.__left1._jspService(__left1.java:703)rn at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)rn at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)rn at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)rn at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)rn at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)rn at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)rn at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)rn at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rn at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)rn at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)rn at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)rn at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)rn at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:183)rn at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:125)rn at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:107)rn at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:78)rn at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:383)rn at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)rn at com.xinnuo.util.CharsetFilter.doFilter(CharsetFilter.java:49)rn at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)rn at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)rn> rnrn请高人指点....
android启动就报错
开发环境idea-14,然后已经添加了v7目录下面的v4和v7包到项目的libs目录,并且添加到Libraries中.实在想不到是什么地方出问题了,等大神,谢谢rnrnrn报错信息:rn[code=java]rnrnjava.lang.NoClassDefFoundError: android.support.v7.appcompat.R$styleablern at android.support.v7.app.DrawerArrowDrawable.(DrawerArrowDrawable.java:64)rn at android.support.v7.app.ActionBarDrawerToggle$DrawerArrowDrawableToggle.(ActionBarDrawerToggle.java:469)rn at android.support.v7.app.ActionBarDrawerToggle.(ActionBarDrawerToggle.java:222)rn at android.support.v7.app.ActionBarDrawerToggle.(ActionBarDrawerToggle.java:150)rn at com.xxx.MainActivity$3.(MainActivity.java:130)rn at com.xxx.MainActivity.onCreate(MainActivity.java:129)rn at android.app.Activity.performCreate(Activity.java:5231)rn at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)rn at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)rn at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)rn at android.app.ActivityThread.access$800(ActivityThread.java:135)rn at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)rn at android.os.Handler.dispatchMessage(Handler.java:102)rn at android.os.Looper.loop(Looper.java:136)rn at android.app.ActivityThread.main(ActivityThread.java:5017)rn at java.lang.reflect.Method.invokeNative(Native Method)rn at java.lang.reflect.Method.invoke(Method.java:515)rn at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)rn at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)rn at dalvik.system.NativeStart.main(Native Method)rnrn[/code]rnrnactivity文件:rn[code=java]rn mDrawerToggle = new ActionBarDrawerToggle(MainActivity.this, mDrawerLayout,rn R.string.drawer_open, R.string.drawer_close) rnrn /** Called when a drawer has settled in a completely closed state. */rn public void onDrawerClosed(View view) rn super.onDrawerClosed(view);rn getActionBar().setTitle("oncreate close");rn invalidateOptionsMenu(); // creates call to onPrepareOptionsMenu()rn rnrn /** Called when a drawer has settled in a completely open state. */rn public void onDrawerOpened(View drawerView) rn super.onDrawerOpened(drawerView);rn getActionBar().setTitle("oncreate open");rn invalidateOptionsMenu(); // creates call to onPrepareOptionsMenu()rn rn ;rn mDrawerLayout.setDrawerListener(mDrawerToggle);rnrn[/code]rnrnrnrnstyles.xmlrn[code=html]rnrnrnrnrnrn rnrnrn[/code]rnrnrnandroidmanifest.xmlrn[code=html]rnrnrnrnrn rn rnrn rn rn rn rn rn rn rn rnrnrnrn[/code]
安卓程序一运行项目就报错
如题,错误提示:your project contains error(s),please fix them before running your appliction 我以为是版本问题,但是我查看project.properties里面的target=android-10 右键工程后,看安卓版本也是2.3.3没问题啊,希望有人指点迷津 在线等
项目启动的报错问题
问题: 1、tomcat启动一直报错? 2、maven的jar下载不下来? 3、git版本同步一直有问题?   git同步有问题,就删除,重新下载了?实在不知道怎么搞了。 maven下载不下来,从同事那边copy过来 tomcat启动一直报错,原来是jar包没有加载过来。。   步骤: 1、项目右击--&amp;gt;properties --&amp;gt; deployment asse...
项目启动 SQLServer报错
在项目启动的时候 SQLServer报错了rnrn系统找不到指定的文件rn:Microsoft.DataTransformationServices.VsIntegrationrnrn不知道什么原因 等待高手解答 急用
急急急!本地不报错,发布到服务器就报错
Server Error in '/' Application.rnrnObject reference not set to an instance of an object.rnrnDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. rnrnException Details: System.NullReferenceException: Object reference not set to an instance of an object.rnrnSource Error: rnrnThe source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:rnrn1. Add a "Debug=true" directive at the top of the file that generated the error. Example:rnrn <%@ Page Language="C#" Debug="true" %>rnrnor:rnrn2) Add the following section to the configuration file of your application:rnrnrn rn rn rnrnrnNote that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.rnrnImportant: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.rnrnStack Trace: rn[NullReferenceException: Object reference not set to an instance of an object.]rn insertlist..ctor() +63rn __ASP.FastObjectFactory_app_web_mfy01nak.Create_ASP_insertlist_aspx() +28rn System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +173rn System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +41rn System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +489rn System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +370
idea启动java项目 一启动就报错 大神帮我看看
端口号改了也没用 ,肯定和端口号没关系rn![图片说明](https://img-ask.csdn.net/upload/201705/02/1493733288_945458.png)rn![图片说明](https://img-ask.csdn.net/upload/201705/02/1493732836_756502.png)
VS 2005 一运行就报错...急!!!!!!!!!!!
我已经安装好了VS2005但是。我新建一个工程,窗体,然后。我一运行它就报错。。rnrn试图运行项目时出错,无法启动调试。。邦定句柄无效???rnrn这是什么原因呀。。。。。大哥们帮帮忙。。。rn
急急急!!!!!为什么报错?
我在我的工程中引入 OUTLOOK EXPRESS MESSAGE LIST 和 OUTLOOK EXPRESS MIME EDITOR 这两个DLL对象,可是我想把它们加到我的FORM里时,却报错说"不支持该对象"为什么,我该如何正确引用WINDOWS自带的程序中的DLL??
SSH三大框架的问题,整合报错!启动Tomcat就报错,急!!!
[b]-------这是ApplicationContext配置文件!!![/b] rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn org.hibernate.dialect.MySQLDialectrn rn rn rn rn rn rn com/syc/infomanager/entity/map/TargetInfo.hbm.xmlrn rn rn com/syc/infomanager/entity/map/UserInfo.hbm.xmlrn rn rn com/syc/infomanager/entity/map/CostInfo.hbm.xmlrn rn rn com/syc/infomanager/entity/map/BankInfo.hbm.xmlrn rn rn com/syc/infomanager/entity/map/WorkInfo.hbm.xmlrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrnrnrn[b]-----报错信息!!!!![/b]rn2009-03-25 15:19:37 Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@14562c5: defining beans [DataSource,SessionFactory,TargetInfoDAO,UserInfoDAO,CostInfoDAO,BankInfoDAO,WorkInfoDAO,UserInfoBiz,/user]; root of factory hierarchyrn2009-03-25 15:19:37 Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Vrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)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:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)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:578)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:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn
上传文件报错!!!!急急急!!!!
如果上传文件为空系统就会出错rnrnrn异常详细信息: System.ArgumentOutOfRangeException: StartIndex 不能小于 0。参数名: startIndexrnrn源错误: rnrnrn行 40: string nam = myFile.PostedFile.FileName ;rn行 41: int i= nam.LastIndexOf("\\") ; rn行 42: string sc =nam.Substring(i) ; rn行 43: myFile.PostedFile.SaveAs("c:\\sc\\"+sc) ;rn行 44: rn rnrn源文件: c:\inetpub\wwwroot\manage\yglr.aspx.cs 行: 42 rnrn我想为空的话也可以上传怎么办???
急急急!afx.h报错?!!
大哥们,我的VC在新建项目后不做任何操作,只是编译运行,就会有afx.h文件报错,为什呢?rnrnrn大哥们帮帮我吧!rn
急急急 报错啊
我下载了一个源码,报rn“rn在应用程序级别之外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。如果在 IIS 中没有将虚拟目录配置为应用程序,则可能导致此错误。 C:\Documents and Settings\Administrator\桌面\TTFHouseManager\WebSite\web.config 51 rnrn”rn错误,rnweb.config:rnrn rn rn rn清各位大虾帮忙看看吧 我的系统装不上iis 就想用vs2008直接打开源码重新生成,然后浏览,不想把网站配置到iis,有办法解决吗
网站报错,急急急!!!!!!!!!!!
Warning: Smarty error: unable to read resource: "default/zs_index.html" in D:\AppServ\www\app\plugins\smarty\Smarty.class.php on line 1095rn是哪里出错了?要怎么样解决?
OleDbDataAdapter.Fill报错,急急急
[code=C#]rnpublic static DataSet GetDataSet(string sql, string tableName)rn rn using (OleDbConnection connection = new OleDbConnection(connectionString))rn rn DataSet ds = new DataSet();rn tryrn rn connection.Open();rn OleDbDataAdapter command = new OleDbDataAdapter(sql, connection);rn command.Fill(ds, "ds");rn rn catch (System.Data.OleDb.OleDbException ex)rn rn throw new Exception(ex.Message);rn rn return ds;rn rn rn[/code]rnrn在access里面执行语句正常,但是就是查询的时候报错rn不知如何是好啊,在线等待
启动记录???急急急!!!
我的电脑装的是98和XP的双系统,当我98不好用时,我用GHOST恢复了一下,恢复完了以后启动记录多了一项 “windows 默认”,当我在98下改启动记录时,发现没有这项,但是就是启动是有“windows 默认”,请大家帮忙!!!rnrn谢谢了 !!!!
启动问题。急急急!!!!
电脑启动不来拉。老是重起 。我装了个软件USB设想头软件后就不能重起。说由于硬件或软件问题。能进入安全模式。等。 有启动界面 。但进不去。请问各位高手怎么解决。解决了立刻结贴。我对电脑硬件不太懂撒。
急急急急急急急solaris web报错
Server ErrorrnThis server has encountered an internal error which prevents it from fulfilling your request. The most likely cause is a misconfiguration. Please ask the administrator to look for messages in the server's error log. rnrn如何设置rn
急急急?(就一句话)
Vb.net的语句,我想把它变成C#怎么变成,我的目的是用这个来判断是全角还是半角,如果您有更好的方法请教教我,谢谢!!!rnrnrnrnDim encSjiS As System.Text.Encoding = encSjiS.GetEncoding("GB2312")
win2000不能启动,急急急急急急急!
主  题: win2000不能启动,求救! rn作  者: lxencs () rn等  级: rn信 誉 值: 100 rn所属社区: Windows专区 Windows NT/2000/XP/2003 rn问题点数: 20 rn回复次数: 1 rn发表时间: 2004-04-30 20:22:11Z rnrn 我的机子启动时提示\system32\ntoskrnl.exe掉失,光驱好像不能启动了,怎么办?rn 以下是一位高手的回复:rn rn Make a bookdisk of Windows98 and start setup from CD-ROMrnby:rn(a:\)e:(e is the CDROM driver letter)rncd i386rnwinntrn 可是如此做法在DOS模式下又不支持,怎么办?可否从别的系统copy?
一启动就退出
运行完Application->Run();后直接到return 0了,不知道为什么一启动后就关闭了,怎么调试这个问题啊,也没有任何错误提示rn[code=c]rnrn tryrn rn Application->Initialize();rn Application->Run();rn rn catch (Exception &exception)rn rn Application->ShowException(&exception);rn rn catch (...)rn rn tryrn rn throw Exception("");rn rn catch (Exception &exception)rn rn Application->ShowException(&exception);rn rn rn return 0;rn[/code]
启动Tomcat就报错,求解
2010-08-05 09:41:44,439 [main] ERROR ContextLoader - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class cn.com.hnisi.fb.models.ShopBaseData)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1412)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)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:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)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 Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class cn.com.hnisi.fb.models.ShopBaseData)rn at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1851)rn at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)rn at java.lang.ClassLoader.loadClassInternal(Unknown Source)rn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Unknown Source)rn at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192)rn at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:122)rn at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:191)rn at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:67)rn at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:136)rn at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:475)rn at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:133)rn at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)rn at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:297)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1385)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:855)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:774)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1469)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)rn ... 36 morern2010-8-5 9:41:44 org.apache.catalina.core.StandardContext startrnrn本人使用的工具是MyEclipse8.0,JDK 是1.6,集成的是struts2,spring3,hibernate3rn在web.xml文件的配置是这样的:rnrn contextConfigLocationrn classpath:applicationContext.xmlrnrnrnrn org.springframework.web.context.ContextLoaderListenerrnrnrn报错的原因我个人认为是JDK版本的问题,但是我更换为MyEclipse自带的JDK也还是不行,请高手不吝赐教,多谢了
tomcat已启动就报错
[color=#FF0000]我的tomcat 已启动就报错 说明在tomcat 被修改了 但是我最近的只在tomcat 下 修改了 server.xml 中添加了URIENcoding=UTF-8 但是报错信息却指向了我程序中filter的路径 不明所以[/color]rn[code=XML]严重: Exception starting filter SetEncodingFilterrnjava.lang.ClassNotFoundException: org.zero.space.common.SetEncodingFilterrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249)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:3709)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4356)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:924)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)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:578)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:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2009-1-19 20:38:42 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2009-1-19 20:38:42 org.apache.catalina.core.StandardContext startrn严重: Context [/gkhMVCDemo1] startup failed due to previous errorsrn2009-1-19 20:38:44 org.apache.catalina.loader.WebappClassLoader validateJarFile[/code]
SpringMvc 项目一启动就报错
十二月 07, 2016 12:26:44 下午 org.apache.tomcat.util.digester.SetPropertiesRule beginrn警告: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.jee.server:mvp' did not find a matching property.rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server version: Apache Tomcat/8.0.36rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server built: Jun 9 2016 13:55:50 UTCrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server number: 8.0.36.0rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: OS Name: Windows 8.1rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: OS Version: 6.3rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Architecture: amd64rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Java Home: C:\Program Files\Java\jdk1.7.0_79\jrern十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: JVM Version: 1.7.0_79-b15rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: JVM Vendor: Oracle Corporationrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: CATALINA_BASE: D:\Project\JAVA\.metadata\.plugins\org.eclipse.wst.server.core\tmp1rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: CATALINA_HOME: D:\Exploit\apache-tomcat-8.0.36rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Xms1024mrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Xmx4096mrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -XX:MaxNewSize=512mrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -XX:MaxPermSize=1024mrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dcatalina.base=D:\Project\JAVA\.metadata\.plugins\org.eclipse.wst.server.core\tmp1rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dcatalina.home=D:\Exploit\apache-tomcat-8.0.36rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dwtp.deploy=D:\Project\JAVA\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebappsrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Djava.endorsed.dirs=D:\Exploit\apache-tomcat-8.0.36\endorsedrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dfile.encoding=UTF-8rn十二月 07, 2016 12:26:44 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEventrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_79\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\Doctrine extensions for PHP\;D:\111\app\mysql\bin;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;D:\111\app\mysql\bin;C:\Users\yao\AppData\Local\Microsoft\WindowsApps;.rn十二月 07, 2016 12:26:44 下午 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["http-nio-8080"]rn十二月 07, 2016 12:26:44 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelectorrn信息: Using a shared selector for servlet write/readrn十二月 07, 2016 12:26:44 下午 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["ajp-nio-8019"]rn十二月 07, 2016 12:26:44 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelectorrn信息: Using a shared selector for servlet write/readrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 908 msrn十二月 07, 2016 12:26:44 下午 org.apache.catalina.core.StandardService startInternalrn信息: Starting service Catalinarn十二月 07, 2016 12:26:44 下午 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/8.0.36rn十二月 07, 2016 12:26:56 下午 org.apache.jasper.servlet.TldScanner scanJarsrn信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.rn十二月 07, 2016 12:26:57 下午 org.apache.catalina.core.ApplicationContext logrn信息: No Spring WebApplicationInitializer types detected on classpathrnSLF4J: Class path contains multiple SLF4J bindings.rnSLF4J: Found binding in [jar:file:/D:/Project/JAVA/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mvp/WEB-INF/lib/activemq-all-5.14.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]rnSLF4J: Found binding in [jar:file:/D:/Project/JAVA/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/mvp/WEB-INF/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]rnSLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.rnSLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]rncom.mysql.jdbc.JDBC4Connection@78389fd6rn2016-12-07 12:26:57,489 [localhost-startStop-1] INFO [com.soc.common.servlet.CheckDbState] - database pool ok!rn十二月 07, 2016 12:26:57 下午 org.apache.catalina.core.ApplicationContext logrn信息: Initializing Spring root WebApplicationContextrn2016-12-07 12:27:01,799 [localhost-startStop-1] INFO [com.alibaba.druid.pool.DruidDataSource] - dataSource-1 initedrn十二月 07, 2016 12:27:09 下午 org.apache.catalina.core.ApplicationContext logrn信息: Initializing Spring FrameworkServlet 'springServlet'rnERROR [localhost-startStop-1] [DispatcherServlet] Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'phoneVirusRecordController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.soc.modules.phonevirus.service.PhoneVirusRecordService com.soc.modules.phonevirus.web.PhoneVirusRecordController.phoneVirusRecordService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'phoneVirusRecordService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.soc.modules.phonevirus.dao.PhoneVirusRecordDao com.soc.modules.phonevirus.service.PhoneVirusRecordService.phoneVirusRecordDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'phoneVirusRecordDao': FactoryBean threw exception on object creation; nested exception is org.springframework.data.mapping.PropertyReferenceException: No property get found for type com.soc.modules.phonevirus.entity.PhoneVirusRecordrn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1208)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)rn at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:599)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665)rn at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:518)rn
eclipse 启动 m2e插件报错
网上找来解决方案如下    通过对两个工作空间中的文件的比较,我发现将\.metadata\.plugins\org.eclipse.e4.workbench\workbench.xmi文件替换, 便可以打开Eclipse,同时maven正常,但是,这种方式进入Eclipse工作界面后,需要重新定义一下show view视图,暂未发现其它问题。 ...
急急急 寻找项目
谁能提供一个合适的较小一点的项目,比较适合3到4个人,用VC 或C编写,基于 WINDOWS 平台。
eclipse启动项目tomcat 报错
Errors occurred during the build.Errors running builder 'Integrated External Tool Builder' on project 'new52'.The builder launch configuration could not be found.The builder launch configuration could...
启动项目jnotify报错问题
java.lang.UnsatisfiedLinkError: no jnotify in java.library.path net.contentobjects.jnotify.linux.JNotify_linux.(Unknown Source)报错问题 在重启原先的一个项目时,发现启动报如下错误 Exception in thread “Thread-3” java.lang.Unsat...
刚建项目就报错
自带的是 1.6 ,配置用自己下的 Jdk1.7 ,新建个项目,什么都写,但不知道怎么会报错rn还有新建项目时 Java EE 是选择哪个?rnrn[img=https://img-bbs.csdn.net/upload/201405/19/1400496501_695273.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201405/19/1400496517_457216.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201405/19/1400496555_862035.png][/img]rnrnrn
android项目运行就报错
Android resource linking failed Output: F:\Qoqonuts\app\build\intermediates\incremental\mergeDevDebugResources\merged.dir\values-v26\values-v26.xml:7: error: resource android:attr/colorError not foun...
打开VS2003的项目就报错:
打开VS2003的项目就报错: rnHTTP/1.1 500 Internal Server Error rn项目不能被运行,单独浏览某个页面,全是乱码?rn???????????????????????????????????怎么办
项目启动就报空指针异常
在使用idea开发时,启动项目后直接报出空指针异常
相关热词 c# login 居中 c# 考试软件 c# 自然语言分析 c# 分段读取文件 c# 泛型反射 c#打断点 c# 时间转多少秒 c# 线程函数加参数 c# modbus 读取 c#查询集合表