eclipse启动tomcat404,但控制台没报错

1.双击打开server

2.选择user Tomcat install(好像第二个选项)

3.改成webapps

展开阅读全文

MyEclipse启动web项目,控制台报错

03-19

楼主把别人的web项目复制到自己的MyEclipse下,部署好了之后,想启动项目在浏览器上看看页面效果,结果启动项目的过程中控制台上报错如下:rnrn严重: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListenerrnjava.lang.ClassCastException: com.sun.faces.config.WebConfiguration cannot be cast to com.sun.faces.config.WebConfigurationrn at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:174)rn at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:158)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4992)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5492)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1897)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)rn at java.lang.Thread.run(Thread.java:745)rn三月 19, 2015 10:32:43 上午 org.apache.catalina.core.StandardContext startInternalrn严重: Error listenerStartrn三月 19, 2015 10:32:43 上午 org.apache.catalina.core.StandardContext startInternalrn严重: Context [/ReNengBiao] startup failed due to previous errorsrnrn请问该如何解决了??求大神指点,这个问题已经困扰楼主一个礼拜了,再不解决老师就要发火啦 论坛

MyEclipse6.5启动Tomcat6.0,控制台报错...

12-05

启动Tomcat6.0,MyEclipse6.5启动控制台报错...rnrn2010-12-5 17:23:06 org.apache.catalina.core.AprLifecycleListener initrn严重: An incompatible version 1.1.10 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.17 rn2010-12-5 17:23:06 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2010-12-5 17:23:06 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 572 msrn2010-12-5 17:23:06 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2010-12-5 17:23:06 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.26rn2010-12-5 17:23:06 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor manager.xmlrn2010-12-5 17:23:06 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory ROOTrn2010-12-5 17:23:06 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory docsrn2010-12-5 17:23:07 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2010-12-5 17:23:07 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2010-12-5 17:23:07 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/38 config=nullrn2010-12-5 17:23:07 org.apache.catalina.startup.Catalina startrn信息: Server startup in 593 msrnrn通过网上查询,我获取到的信息是:先从网上 : rn rnhttp://tomcat.heanet.ie/native/ 下载一个tcnative-1.dll 你到 rn rnhttp://tomcat.heanet.ie/native/1.1.7/binaries/win32/目录下就可以看,我下载放在Tomcat6.0目录下,启动Tomcat还是报错,不知道什么问题。。大家有什么好的解决方法,在这里谢啦。。。 论坛

eclipse启动tomact报错。。。。

07-25

启动时:rn2008-7-25 9:23:27 org.apache.catalina.core.AprLifecycleListener lifecycleEventrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_06\bin;D:\Tomcat 5.5\binrn2008-7-25 9:23:27 org.apache.coyote.http11.Http11BaseProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2008-7-25 9:23:27 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 2657 msrn2008-7-25 9:23:27 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2008-7-25 9:23:27 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.5.26rn2008-7-25 9:23:27 org.apache.catalina.core.StandardHost startrn信息: XML validation disabledrn2008-7-25 9:23:29 org.apache.catalina.core.ApplicationContext logrn信息: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]rn2008-7-25 9:23:31 org.apache.catalina.loader.WebappClassLoader validateJarFilern信息: validateJarFile(D:\Tomcat 5.5\webapps\eProcurement\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classrnQuartz Initializer Servlet loaded, initializing Scheduler...rnrn关闭时:rnrn2008-7-25 9:10:19 org.apache.catalina.startup.Catalina stopServerrn严重: Catalina.stop: rnjava.net.ConnectException: Connection refused: connectrn at java.net.PlainSocketImpl.socketConnect(Native Method)rn at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)rn at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)rn at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)rn at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)rn at java.net.Socket.connect(Socket.java:507)rn at java.net.Socket.connect(Socket.java:457)rn at java.net.Socket.(Socket.java:365)rn at java.net.Socket.(Socket.java:178)rn at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)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.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435) 论坛

tomcat 8 容器启动maven web项目,eclipse控制台报错

12-07

小弟之前项目开发的时候,用的是tomcat 6 运行web 项目,最近用 tomcat 8 运行 maven web(spring+springMVC+mybatis)项目,控制台报错,请大牛指点。rnrnrnrnjavax.validation.ValidationException: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath.rn at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:271)rn at org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:223)rn at org.springframework.validation.beanvalidation.OptionalValidatorFactoryBean.afterPropertiesSet(OptionalValidatorFactoryBean.java:40)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1612)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1549)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)rn at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:658)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:624)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:672)rn at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:543)rn at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:484)rn at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)rn at javax.servlet.GenericServlet.init(GenericServlet.java:158)rn at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1241)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1154)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1041)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4932)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5218)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)rn at java.lang.Thread.run(Thread.java:745) 论坛

Android 开发的程序eclipse报错,但意外停止

04-23

# 目的是编写一个单点触摸用户输入的例子,以下是程序代码nnpackage com.example.ontouchlistenerdemo;nnimport android.app.Activity;nimport android.content.Context;nimport android.content.res.AssetManager;nimport android.graphics.*;nimport android.os.Bundle;nimport android.view.*;nimport android.view.View.OnTouchListener;nnnnpublic class Game extends Activity implements OnTouchListener nn DrawView drawView;n n Point touch = new Point(0,0);n String inputAction= "";n n @Overriden public void onCreate(Bundle savedInstanceState) n super.onCreate(savedInstanceState);n requestWindowFeature(Window.FEATURE_NO_TITLE);n drawView = new DrawView(this);n setContentView(drawView);n n drawView.setOnTouchListener(this);n nn public void onResume()n super.onResume();n drawView.resume();n n public void onPause()n super.onPause();n drawView.pause();n n n public boolean onTouch(View v,MotionEvent event)n switch (event.getAction()) n case MotionEvent.ACTION_DOWN:n inputAction = "DOWN";n break;nn case MotionEvent.ACTION_MOVE:n inputAction = "MOVE";n break;n n case MotionEvent.ACTION_UP:n inputAction = "UP";n break;n n n touch.x = (int)event.getX();n touch.y = (int)event.getY();n n return true;n n n public class DrawView extends SurfaceView implements Runnablen n Thread gameloop = null;n n SurfaceHolder surface = null;n n volatile boolean running = false;n n AssetManager assets = null;n n public DrawView(Context context)n n super(context);n surface = getHolder();n assets = context.getAssets();n n public void resume()n running = true;n gameloop = new Thread(this);n gameloop.start();n n public void pause()n running = false;n while(true)n tryn gameloop.join();n catch(InterruptedException e)n n n public void run()n while(running)n n if(!surface.getSurface().isValid())n continue;n n Canvas canvas = surface.lockCanvas();n canvas.drawColor(Color.BLACK);n n Paint paint= new Paint();n paint.setColor(Color.WHITE);n paint.setTextSize(24);n canvas.drawText("Touch screen to test single touch input", 10, 20, paint);n canvas.drawText("Action: " +inputAction, 10, 50, paint);n canvas.drawText("Position: "+touch.x+","+touch.y,10 ,80, paint);n n if(touch.x != 0&& touch.y!=0)n canvas.drawCircle(touch.x, touch.y, 50, paint);n n surface.unlockCanvasAndPost(canvas);n n tryn Thread.sleep(20);n catch(InterruptedException e)n n e.printStackTrace();n n n n n n n## 然后是Log的报错n04-23 09:05:03.901: E/AndroidRuntime(350): FATAL EXCEPTION: mainn04-23 09:05:03.901: E/AndroidRuntime(350): java.lang.RuntimeException: Unable to instantiate activity ComponentInfocom.example.ontouchlistenerdemo/com.example.ontouchlistenerdemo.MainActivity: java.lang.ClassNotFoundException: com.example.ontouchlistenerdemo.MainActivity in loader dalvik.system.PathClassLoader[/data/app/com.example.ontouchlistenerdemo-1.apk]n04-23 09:05:03.901: E/AndroidRuntime(350): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1569)n04-23 09:05:03.901: E/AndroidRuntime(350): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)n04-23 09:05:03.901: E/AndroidRuntime(350): at android.app.ActivityThread.access$1500(ActivityThread.java:117)n04-23 09:05:03.901: E/AndroidRuntime(350): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)n04-23 09:05:03.901: E/AndroidRuntime(350): at android.os.Handler.dispatchMessage(Handler.java:99)n04-23 09:05:03.901: E/AndroidRuntime(350): at android.os.Looper.loop(Looper.java:123)n04-23 09:05:03.901: E/AndroidRuntime(350): at android.app.ActivityThread.main(ActivityThread.java:3683)n04-23 09:05:03.901: E/AndroidRuntime(350): at java.lang.reflect.Method.invokeNative(Native Method)n04-23 09:05:03.901: E/AndroidRuntime(350): at java.lang.reflect.Method.invoke(Method.java:507)n04-23 09:05:03.901: E/AndroidRuntime(350): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)n04-23 09:05:03.901: E/AndroidRuntime(350): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)n04-23 09:05:03.901: E/AndroidRuntime(350): at dalvik.system.NativeStart.main(Native Method)n04-23 09:05:03.901: E/AndroidRuntime(350): Caused by: java.lang.ClassNotFoundException: com.example.ontouchlistenerdemo.MainActivity in loader dalvik.system.PathClassLoader[/data/app/com.example.ontouchlistenerdemo-1.apk]n04-23 09:05:03.901: E/AndroidRuntime(350): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)n04-23 09:05:03.901: E/AndroidRuntime(350): at java.lang.ClassLoader.loadClass(ClassLoader.java:551)n04-23 09:05:03.901: E/AndroidRuntime(350): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)n04-23 09:05:03.901: E/AndroidRuntime(350): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)n04-23 09:05:03.901: E/AndroidRuntime(350): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1561)n04-23 09:05:03.901: E/AndroidRuntime(350): ... 11 moren谢谢大家看下,帮个忙看看是什么错误 问答

【求救】eclipse报错,myeclipse下没报错,什么情况

10-17

原来的外包公司用myeclipse开发的,现在放在eclipse下会报错,项目已经按eclipse的结构放置。rn错误片段:rn[code=Java]rn49:14,951 WARN [factory.support.DisposableBeanAdapter] Invocation of destroy method 'shutdown' failed on bean with name 'cxf': org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'forgetPasswordProxy': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)rn11:49:14,953 ERROR [web.context.ContextLoader] Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'goodsService' defined in file [D:\JavaTool\apache-tomcat-6.0.35\webapps\pips\WEB-INF\classes\spring\application.goods.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/pips/dao/po/Goodsrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)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)rnCaused by: java.lang.NoClassDefFoundError: org/pips/dao/po/Goodsrn at java.lang.Class.getDeclaredMethods0(Native Method)rn at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)rn at java.lang.Class.privateGetPublicMethods(Class.java:2547)rn at java.lang.Class.getMethods(Class.java:1410)rn at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1284)rn at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1158)rn at java.beans.Introspector.getBeanInfo(Introspector.java:408)rn at java.beans.Introspector.getBeanInfo(Introspector.java:167)rn at org.springframework.beans.CachedIntrospectionResults.(CachedIntrospectionResults.java:224)rn at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149)rn at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324)rn at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptors(BeanWrapperImpl.java:331)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.filterPropertyDescriptorsForDependencyCheck(AbstractAutowireCapableBeanFactory.java:1242)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1101)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)rn ... 26 morernCaused by: java.lang.ClassNotFoundException: org.pips.dao.po.Goodsrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)rn ... 41 morern2012-10-17 11:49:14 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'goodsService' defined in file [D:\JavaTool\apache-tomcat-6.0.35\webapps\pips\WEB-INF\classes\spring\application.goods.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/pips/dao/po/Goodsrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)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)rnCaused by: java.lang.NoClassDefFoundError: org/pips/dao/po/Goodsrn at java.lang.Class.getDeclaredMethods0(Native Method)rn at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)rn at java.lang.Class.privateGetPublicMethods(Class.java:2547)rn at java.lang.Class.getMethods(Class.java:1410)rn at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1284)rn at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1158)rn at java.beans.Introspector.getBeanInfo(Introspector.java:408)rn at java.beans.Introspector.getBeanInfo(Introspector.java:167)rn at org.springframework.beans.CachedIntrospectionResults.(CachedIntrospectionResults.java:224)rn at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149)rn at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324)rn at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptors(BeanWrapperImpl.java:331)rn at rn[/code] 论坛

整合SSH后,TOMCAT启动不了,控制台也没报错,用的eclipse

03-02

三月 02, 2018 9:51:48 下午 org.apache.tomcat.util.digester.SetPropertiesRule beginrn警告: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.jee.server:sshcrm' did not find a matching property.rn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server version: Apache Tomcat/8.5.27rn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server built: Jan 18 2018 20:12:40 UTCrn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server number: 8.5.27.0rn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: OS Name: Windows 10rn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: OS Version: 10.0rn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Architecture: amd64rn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Java Home: D:\JDK\install2rn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: JVM Version: 1.8.0_161-b12rn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: JVM Vendor: Oracle Corporationrn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: CATALINA_BASE: D:\TomCatrn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: CATALINA_HOME: D:\TomCatrn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dcatalina.base=D:\TomCatrn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dcatalina.home=D:\TomCatrn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dwtp.deploy=D:\TomCat\wtpwebappsrn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Djava.endorsed.dirs=D:\TomCat\endorsedrn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dfile.encoding=UTF-8rn三月 02, 2018 9:51:48 下午 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: [D:\JDK\install2\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:/JDK/install2/bin/server;D:/JDK/install2/bin;D:/JDK/install2/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\JDK\install\bin;C:\Program Files\MySQL\MySQL Server 5.7;C:\Users\mawen\AppData\Local\Microsoft\WindowsApps;;C:\Users\mawen\Desktop;;.]rn三月 02, 2018 9:51:48 下午 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["http-nio-8080"]rn三月 02, 2018 9:51:48 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelectorrn信息: Using a shared selector for servlet write/readrn三月 02, 2018 9:51:48 下午 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["ajp-nio-8009"]rn三月 02, 2018 9:51:48 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelectorrn信息: Using a shared selector for servlet write/readrn三月 02, 2018 9:51:48 下午 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 638 msrn三月 02, 2018 9:51:48 下午 org.apache.catalina.core.StandardService startInternalrn信息: Starting service [Catalina]rn三月 02, 2018 9:51:48 下午 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/8.5.27rn三月 02, 2018 9:51:52 下午 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三月 02, 2018 9:51:52 下午 org.apache.catalina.core.ApplicationContext logrn信息: No Spring WebApplicationInitializer types detected on classpathrn三月 02, 2018 9:51:52 下午 org.apache.catalina.core.ApplicationContext logrn信息: Initializing Spring root WebApplicationContextrnlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).rnlog4j:WARN Please initialize the log4j system properly.rn就这样一直卡着,过大概30秒弹框说不能启动服务器rn[img=https://img-bbs.csdn.net/upload/201803/02/1519999429_461949.png][/img] 论坛

eclipse启动JBoss报错

05-08

以前一直使用正常,不知道怎么就突然报错了。以下为出错信息,省略部分信息(太长了):rnrn10:03:36,203 ERROR [HypersonicDatabase] Starting failed jboss:database=localDB,service=Hypersonicrnjava.sql.SQLException: File input/output error: D:\jboss4\server\default\data\hypersonic\localDB.logrn at org.hsqldb.jdbc.Util.sqlException(Unknown Source)rn at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)rn at org.hsqldb.jdbcDriver.getConnection(Unknown Source)rn at org.hsqldb.jdbcDriver.connect(Unknown Source)rn at java.sql.DriverManager.getConnection(DriverManager.java:512)rn at java.sql.DriverManager.getConnection(DriverManager.java:171)rn at org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:806)rn at org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabasern ……rn10:03:36,234 WARN [ServiceController] Problem starting service jboss:database=localDB,service=Hypersonicrnjava.sql.SQLException: File input/output error: D:\jboss4\server\default\data\hypersonic\localDB.logrn at org.hsqldb.jdbc.Util.sqlException(Unknown Source)rn at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)rn at org.hsqldb.jdbcDriver.getConnection(Unknown Source)rn at org.hsqldb.jdbcDriver.connect(Unknown Source)rn at java.sql.DriverManager.getConnection(DriverManager.java:512)rn at java.sql.DriverManager.getConnection(DriverManager.java:171)rn at org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:806)rn at org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabase(HypersonicDatabase.java:617)rn ……rn10:03:37,171 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name 'java:JmsXA'rn10:03:37,687 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=OracleDS,service=DataSourceBinding to JNDI name 'java:OracleDS'rn10:03:37,843 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/D:/jboss4/server/default/deploy/jmx-console.war/rn10:03:38,406 ERROR [URLDeploymentScanner] Incomplete Deployment listing:rnrn--- MBeans waiting for other MBeans ---rnObjectName: jboss:database=localDB,service=Hypersonicrn State: FAILEDrn Reason: java.sql.SQLException: File input/output error: D:\jboss4\server\default\data\hypersonic\localDB.logrn Depends On Me:rn jboss.jca:name=DefaultDS,service=ManagedConnectionFactoryrnrn--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---rnObjectName: jboss:database=localDB,service=Hypersonicrn State: FAILEDrn Reason: java.sql.SQLException: File input/output error: D:\jboss4\server\default\data\hypersonic\localDB.logrn Depends On Me:rn jboss.jca:name=DefaultDS,service=ManagedConnectionFactoryrnrn……rnrn请高手帮忙找找原因。谢谢! 论坛

SSH整合后启动TOMCAT控制台报错

08-08

错误信息如下:rnrn八月 08, 2012 8:37:59 上午 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: F:\sun\jdk1.7.0_03\bin;F:\Tomcat7\binrn八月 08, 2012 8:37:59 上午 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["http-bio-8080"]rn八月 08, 2012 8:37:59 上午 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["ajp-bio-8009"]rn八月 08, 2012 8:37:59 上午 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 1139 msrn八月 08, 2012 8:37:59 上午 org.apache.catalina.core.StandardService startInternalrn信息: Starting service Catalinarn八月 08, 2012 8:37:59 上午 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/7.0.26rn八月 08, 2012 8:37:59 上午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory F:\Tomcat7\webapps\clubrn八月 08, 2012 8:38:00 上午 org.apache.catalina.core.ApplicationContext logrn信息: Initializing Spring root WebApplicationContextrn八月 08, 2012 8:38:00 上午 org.springframework.web.context.ContextLoader initWebApplicationContextrn信息: Root WebApplicationContext: initialization startedrn八月 08, 2012 8:38:01 上午 org.springframework.context.support.AbstractApplicationContext prepareRefreshrn信息: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@3ea0c416: display name [Root WebApplicationContext]; startup date [Wed Aug 08 08:38:01 CST 2012]; root of context hierarchyrn八月 08, 2012 8:38:01 上午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitionsrn信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]rn八月 08, 2012 8:38:01 上午 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactoryrn信息: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@3ea0c416]: org.springframework.beans.factory.support.DefaultListableBeanFactory@7df5f91crn八月 08, 2012 8:38:01 上午 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletonsrn信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7df5f91c: defining beans [dataSource,sessionFactory,transactionManager,UserDaoImpl,UserServiceImpl,UserAction]; root of factory hierarchyrn八月 08, 2012 8:38:01 上午 com.mchange.v2.log.MLog rn信息: MLog clients using java 1.4+ standard logging.rn八月 08, 2012 8:38:01 上午 com.mchange.v2.c3p0.C3P0Registry bannerrn信息: Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]rn八月 08, 2012 8:38:01 上午 org.hibernate.cfg.Environment rn信息: Hibernate 3.1.3rn八月 08, 2012 8:38:01 上午 org.hibernate.cfg.Environment rn信息: hibernate.properties not foundrn八月 08, 2012 8:38:01 上午 org.hibernate.cfg.Environment rn信息: using CGLIB reflection optimizerrn八月 08, 2012 8:38:01 上午 org.hibernate.cfg.Environment rn信息: using JDK 1.4 java.sql.Timestamp handlingrn八月 08, 2012 8:38:02 上午 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValuesrn信息: Mapping class: com.xiaoqi.web.Model.User -> ac_userrn八月 08, 2012 8:38:02 上午 org.springframework.orm.hibernate3.LocalSessionFactoryBean buildSessionFactoryrn信息: Building new Hibernate SessionFactoryrn八月 08, 2012 8:38:02 上午 org.hibernate.connection.ConnectionProviderFactory newConnectionProviderrn信息: Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProviderrn八月 08, 2012 8:38:02 上午 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManagerrn信息: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge15w8p10mjj11m63jba|203c266f, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge15w8p10mjj11m63jba|203c266f, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://localhost:3306/zwgbk, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> user=******, password=******, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]rn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: RDBMS: MySQL, version: 5.5.13rn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.12 ( Revision: $bzr.revision-id )rn八月 08, 2012 8:38:03 上午 org.hibernate.dialect.Dialect rn信息: Using dialect: org.hibernate.dialect.MySQLInnoDBDialectrn八月 08, 2012 8:38:03 上午 org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactoryrn信息: Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactoryrn八月 08, 2012 8:38:03 上午 org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookuprn信息: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)rn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Automatic flush during beforeCompletion(): disabledrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Automatic session close at end of transaction: disabledrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: JDBC batch size: 15rn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: JDBC batch updates for versioned data: disabledrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Scrollable result sets: enabledrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: JDBC3 getGeneratedKeys(): enabledrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Connection release mode: autorn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Maximum outer join fetch depth: 2rn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Default batch fetch size: 1rn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Generate SQL with comments: disabledrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Order SQL updates by primary key: disabledrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory createQueryTranslatorFactoryrn信息: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactoryrn八月 08, 2012 8:38:03 上午 org.hibernate.hql.ast.ASTQueryTranslatorFactory rn信息: Using ASTQueryTranslatorFactoryrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Query language substitutions: rn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Second-level cache: enabledrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Query cache: disabledrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory createCacheProviderrn信息: Cache provider: org.hibernate.cache.EhCacheProviderrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Optimize cache for minimal puts: disabledrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Structured second-level cache entries: disabledrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Echoing all SQL to stdoutrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Statistics: disabledrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Deleted entity synthetic identifier rollback: disabledrn八月 08, 2012 8:38:03 上午 org.hibernate.cfg.SettingsFactory buildSettingsrn信息: Default entity-mode: pojorn八月 08, 2012 8:38:03 上午 org.hibernate.impl.SessionFactoryImpl rn信息: building session factoryrn 论坛

没有更多推荐了,返回首页