idea启动tomcat异常,求大神赐教

严重: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1740)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

5个回答

Caused by: java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106)
at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:261)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:140)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:400)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:876)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:371)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5355)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 42 more
Caused by: java.lang.ClassNotFoundException: org.apache.commons.beanutils.Converter
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
... 56 more

二月 15, 2017 1:54:10 下午 org.apache.tomcat.util.modeler.BaseModelMBean invoke
严重: Exception invoking method manageApp
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1740)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

二月 15, 2017 1:54:10 下午 org.apache.tomcat.util.modeler.BaseModelMBean invoke
严重: Exception invoking method createStandardContext
javax.management.RuntimeOperationsException: Exception invoking method manageApp
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:309)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1740)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)

jar包明明已经导进去了,xml也检查了,不知道哪里遗漏了 还望大神解惑

最大可能性是你通过idea启动tomcat时没有加载commons-beanutils.jar包。
(不是jar包导进去,是启动tomcat时有没有加载commons-beanutils.jar包)

既然出错,肯定是有哪个地方不对。
根据已给的信息,比较难判断。

仔细检查 导入的commons-beanutils.jar包,有问题

先看看你本地tomcat是否配置好,在百度下你第一条报错信息

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
SSH+JFreeChart,开启tomcat报异常,求大神赐教!
[color=#800080]以下是异常:[/color]SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrn[color=#FF0000]org.springframework.beans.factory.BeanCreationException:[/color] [color=#0000FF]Error creating bean with name 'PiechartAction' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; rnnested exception is java.lang.NoClassDefFoundError:org/jfree/data/general/PieDataset[/color]rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:965)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)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:580)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: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:4206)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)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: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:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: java.lang.NoClassDefFoundError: org/jfree/data/general/PieDatasetrn at java.lang.Class.getDeclaredConstructors0(Native Method)rn at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404)rn at java.lang.Class.getConstructor0(Class.java:2714)rn at java.lang.Class.getDeclaredConstructor(Class.java:2002)rn at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:65)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:958)rn ... 37 morernCaused by: java.lang.ClassNotFoundException: org.jfree.data.general.PieDatasetrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)rn ... 43 morernrnrn[color=#800080]关于JFreeChart的相关jar包有三个:[/color]rn[color=#0000FF]gnujaxp.jarrnjcommon-1.0.17.jarrnjfreechart-1.0.14.jar[/color]rnrn[color=#800080]applicationContext.xml配置如下:[/color]rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn[color=#800080]rnaction里面内容如下:[/color]rnpackage action;rnrnimport java.awt.BasicStroke;rnimport java.awt.Color;rnimport java.awt.Font;rnimport java.io.FileOutputStream;rnimport java.io.IOException;rnimport java.text.DecimalFormat;rnimport java.text.NumberFormat;rnrnimport javax.servlet.http.HttpServletRequest;rnrnimport org.apache.struts2.interceptor.ServletRequestAware;rnimport org.jfree.chart.ChartFactory;rnimport org.jfree.chart.ChartUtilities;rnimport org.jfree.chart.JFreeChart;rnimport org.jfree.chart.labels.StandardPieSectionLabelGenerator;rnimport org.jfree.chart.labels.StandardPieToolTipGenerator;rnimport org.jfree.chart.plot.PiePlot;rnimport org.jfree.chart.title.LegendTitle;rnimport org.jfree.chart.title.TextTitle;rnimport org.jfree.data.general.DefaultPieDataset;rnimport org.jfree.util.Rotation;rnrnimport entity.Piechart;rnrnimport service.PiechartService;rnrnpublic class PiechartAction implements ServletRequestAware rn private PiechartService piechartService=null;rn private HttpServletRequest request=null;rnrn public String getPiechartExample()rn Piechart piechart = piechartService.getPiechartExample();rn rn //获取数据集rn DefaultPieDataset dataset = new DefaultPieDataset();rn dataset.setValue("JAVA", piechart.getJava());rn dataset.setValue("C", piechart.getC());rn dataset.setValue(".NET", piechart.getNet());rn rn //创建JFreeChart对象rn JFreeChart chart = ChartFactory.createPieChart(piechart.getTitle(), dataset, true, true, false);rn //设置标题字体,为了防止中文乱码rn chart.setTitle(new TextTitle("公司组织架构统计图",new Font("黑体",Font.ITALIC,22)));rn rn //取得统计图标的第一个图例rn LegendTitle legend=chart.getLegend(0);rn //修改图例的字体,必须把显示图片设置为ture,否则会包空指针异常rn legend.setItemFont(new Font("宋体",Font.BOLD,20));rn rn //取得图表显示对象(与柱状图和折线图不同)rn PiePlot plot=(PiePlot) chart.getPlot();rn //设置区块标签的字体==为了防止中文乱码:必须设置字体rn plot.setLabelFont(new Font("隶书",Font.BOLD,22));rn //图形边框颜色rn plot.setBaseSectionOutlinePaint(Color.BLUE);rn //图形边框粗细rn plot.setBaseSectionOutlineStroke(new BasicStroke(0.5f));rn //设置饼状图的绘制方向,可以按顺时针方向绘制,也可以按逆时针方向绘制rn plot.setDirection(Rotation.ANTICLOCKWISE);//逆时针,Rotation.CLOCKWISE顺时针rn //设置绘制角度(图形旋转角度)rn plot.setStartAngle(70);rn //设置突出显示的数据块rn //plot.setExplodePercent(1, 0.5D);rn //plot.setExplodePercent("One", 0.5D);rn //扇区分离显示,对3D图不起效rn plot.setExplodePercent(dataset.getKey(0), 0.1d);rn //分类标签与图的连接线颜色rn plot.setLabelLinkPaint(Color.BLUE);rn //分类标签边框颜色rn plot.setLabelOutlinePaint(Color.black);rn //分类标签阴影颜色rn plot.setLabelShadowPaint(Color.RED);rn //指定分类饼的颜色rn plot.setSectionPaint(1, Color.BLACK);rn //饼状图标签显示百分比 :自定义,0表示选项,1表示数值,2表示所占比例,小数点后两位rn plot.setLabelGenerator(new StandardPieSectionLabelGenerator(rn "0:1\r\n2",NumberFormat.getNumberInstance(),new DecimalFormat("0.00%")));rn rn //图例显示百分比rn plot.setLegendLabelGenerator(new StandardPieSectionLabelGenerator("0=2"));rn //指定显示的拼图为:圆形(true),还是椭圆形(false)rn plot.setCircular(true);rn //没有数据的时候显示的内容rn plot.setNoDataMessage("没有可用的数据...");rn rn //设置鼠标悬停提示rn plot.setToolTipGenerator(new StandardPieToolTipGenerator());rn //设置热点链接rn //plot.setURLGenerator(new StandardPieURLGenerator("detail.jsp"));rn rn drawToOut(chart);rn return "success";rn rn rn //生成饼状图形rn public static void drawToOut(JFreeChart chart)rn FileOutputStream fos=null;rn try rn fos = new FileOutputStream("d://1.jpg");rn ChartUtilities.writeChartAsJPEG(fos, chart, 1400, 800);rn rn catch (Exception e) rn e.printStackTrace();rn finallyrn try rn if(fos!=null)rn fos.close();rn rn catch (IOException e) rn e.printStackTrace();rn rn rn System.out.println("成功");rn rn rn public void setRequest(HttpServletRequest request) rn this.request = request;rn rnrn public void setServletRequest(HttpServletRequest request) rn this.setRequest(request);rn rnrn public PiechartService getPiechartService() rn return piechartService;rn rnrn public void setPiechartService(PiechartService piechartService) rn this.piechartService = piechartService;rn rnrn public HttpServletRequest getRequest() rn return request;rn rnrnrn[color=#800080]问题描述完了。rn像这种ClassNotFound类似的错误貌似是包的问题,但是搞了半天还是没有找到解决方案。rn各位大神有什么高见吗?[/color]rnrnrnPS:我将与JFreeChart有关的代码注释掉的话,tomcat就能正常启动。
tomcat 启动 问题 求大神 !!!!!!!!!!!!!!!
rn信息: Deploying web application directory jsp0508rn2013-4-24 22:43:18 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory ROOTrn2013-4-24 22:43:18 org.apache.coyote.http11.Http11Protocol startrn严重: Error starting endpointrnjava.net.BindException: Address already in use: JVM_Bind :8080rn at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549)rn at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:565)rn at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203)rn at org.apache.catalina.connector.Connector.start(Connector.java:1095)rn at org.apache.catalina.core.StandardService.start(StandardService.java:540)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.net.BindException: Address already in use: JVM_Bindrn at java.net.PlainSocketImpl.socketBind(Native Method)rn at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)rn at java.net.ServerSocket.bind(ServerSocket.java:319)rn at java.net.ServerSocket.(ServerSocket.java:185)rn at java.net.ServerSocket.(ServerSocket.java:141)rn at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)rn at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)rn ... 12 morern2013-4-24 22:43:18 org.apache.catalina.core.StandardService startrn严重: Failed to start connector [Connector[HTTP/1.1-8080]]rnLifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind :8080rn at org.apache.catalina.connector.Connector.start(Connector.java:1102)rn at org.apache.catalina.core.StandardService.start(StandardService.java:540)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rnrnrnrn这是为什么啊 ????但是我的又可以直接访问index页面
启动tomcat出现以下异常,该怎么处理?求赐教
2012-3-5 9:24:20 org.apache.catalina.startup.TldConfig tldScanJarrn严重: Exception processing JAR at resource path C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\standard.jar in context rnjava.util.zip.ZipException: error in opening zip filernrnrn严重: Exception processing JAR at resource path C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\standard.jar in context /ScholarShipSystemrnjava.util.zip.ZipException: error in opening zip filern at java.util.zip.ZipFile.open(Native Method)rn at java.util.zip.ZipFile.(ZipFile.java:114)rn at java.util.jar.JarFile.(JarFile.java:133)rnrnrn at java.util.jar.JarFile.(JarFile.java:97)rn012-3-5 9:24:21 org.apache.tomcat.util.digester.Digester fatalErrorrn严重: Parse Fatal Error at line 13 column 2: The markup in the document following the root element must be well-formed.rnorg.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
hibernate配置抛异常求大神赐教
240 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource : com/Hibernate/domain/Employee.hbm.xmlrn254 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(10) 文档根元素 "hibernate-mapping" 必须匹配 DOCTYPE 根 "hibernate-configuration"。rn254 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(10) 必须声明元素类型 "hibernate-mapping"。rn254 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(16) 必须声明元素类型 "class"。rn254 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(25) 必须声明元素类型 "id"。rn254 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(31) 必须声明元素类型 "generator"。rn254 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(33) 必须声明元素类型 "param"。rn255 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(40) 必须为元素类型 "property" 声明属性 "type"。rn255 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(42) 必须声明元素类型 "column"。rn255 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(44) 元素类型为 "property" 的内容必须匹配 "null"。rn255 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(47) 必须为元素类型 "property" 声明属性 "type"。rn255 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(49) 必须声明元素类型 "column"。rn255 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(51) 元素类型为 "property" 的内容必须匹配 "null"。rn256 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(54) 必须为元素类型 "property" 声明属性 "type"。rn256 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(56) 必须声明元素类型 "column"。rn256 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: XML InputStream(58) 元素类型为 "property" 的内容必须匹配 "null"。rnException in thread "main" org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/Hibernate/domain/Employee.hbm.xmlrn at org.hibernate.cfg.Configuration.addResource(Configuration.java:602)rn at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1621)rn at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1589)rn at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1568)rn at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1542)rn at org.hibernate.cfg.Configuration.configure(Configuration.java:1462)rn at org.hibernate.cfg.Configuration.configure(Configuration.java:1448)rn at com.Hibernate.view.TestMain.main(TestMain.java:17)rnCaused by: org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mappingrn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:535)rn at org.hibernate.cfg.Configuration.addResource(Configuration.java:599)rn ... 7 morernCaused by: org.xml.sax.SAXParseException; lineNumber: 10; columnNumber: 51; 文档根元素 "hibernate-mapping" 必须匹配 DOCTYPE 根 "hibernate-configuration"。rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:437)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:325)rn at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.rootElementSpecified(XMLDTDValidator.java:1599)rn at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1877)rn at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:742)rn at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:378)rn at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:604)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3130)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:880)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)rn at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)rn at org.dom4j.io.SAXReader.read(SAXReader.java:465)rn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:532)rn ... 8 morern配置文件rnrnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn//Hibernate配置文件rnrnrnrn rn com.mysql.jdbc.Driverrn rootrn heartrn jdbc:mysql://localhost/testrn org.hibernate.dialect.MySQLDialectrn rn rnrn
TOMCAT启动异常 APR问题?求大神帮忙
/Users/chenzhiheng/CZH/Apps/apache-tomcat-7.0.73/bin/catalina.sh runnConnected to the target VM, address: '127.0.0.1:49169', transport: 'socket'n[2016-12-30 01:56:57,717] Artifact sinopay-web-batch:war exploded: Server is not connected. Deploy is not available.n十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Server version: Apache Tomcat/7.0.73n十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Server built: Nov 7 2016 21:27:23 UTCn十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Server number: 7.0.73.0n十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: OS Name: Mac OS Xn十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: OS Version: 10.11.6n十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Architecture: x86_64n十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Java Home: /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jren十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: JVM Version: 1.7.0_79-b15n十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: JVM Vendor: Oracle Corporationn十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: CATALINA_BASE: /Users/chenzhiheng/Library/Caches/IntelliJIdea2016.1/tomcat/Unnamed_sinopayn十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: CATALINA_HOME: /Users/chenzhiheng/CZH/Apps/apache-tomcat-7.0.73n十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Command line argument: -Djava.util.logging.config.file=/Users/chenzhiheng/Library/Caches/IntelliJIdea2016.1/tomcat/Unnamed_sinopay/conf/logging.propertiesn十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManagern十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Command line argument: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:49169,suspend=y,server=nn十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Command line argument: -Dcom.sun.management.jmxremote=n十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Command line argument: -Dcom.sun.management.jmxremote.port=1099n十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Command line argument: -Dcom.sun.management.jmxremote.ssl=falsen十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Command line argument: -Dcom.sun.management.jmxremote.authenticate=falsen十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Command line argument: -Djava.rmi.server.hostname=127.0.0.1n十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048n十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Command line argument: -Djava.endorsed.dirs=/Users/chenzhiheng/CZH/Apps/apache-tomcat-7.0.73/endorsedn十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Command line argument: -Dcatalina.base=/Users/chenzhiheng/Library/Caches/IntelliJIdea2016.1/tomcat/Unnamed_sinopayn十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Command line argument: -Dcatalina.home=/Users/chenzhiheng/CZH/Apps/apache-tomcat-7.0.73n十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.VersionLoggerListener logn信息: Command line argument: -Djava.io.tmpdir=/Users/chenzhiheng/CZH/Apps/apache-tomcat-7.0.73/tempn十二月 30, 2016 1:56:58 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEventn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/chenzhiheng/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.n十二月 30, 2016 1:56:58 下午 org.apache.coyote.AbstractProtocol initn信息: Initializing ProtocolHandler ["http-bio-8081"]n十二月 30, 2016 1:56:58 下午 org.apache.coyote.AbstractProtocol initn信息: Initializing ProtocolHandler ["ajp-bio-8009"]n十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.Catalina loadn信息: Initialization processed in 617 msn十二月 30, 2016 1:56:58 下午 org.apache.catalina.core.StandardService startInternaln信息: Starting service Catalinan十二月 30, 2016 1:56:58 下午 org.apache.catalina.core.StandardEngine startInternaln信息: Starting Servlet Engine: Apache Tomcat/7.0.73n十二月 30, 2016 1:56:58 下午 org.apache.coyote.AbstractProtocol startn信息: Starting ProtocolHandler ["http-bio-8081"]n十二月 30, 2016 1:56:58 下午 org.apache.coyote.AbstractProtocol startn信息: Starting ProtocolHandler ["ajp-bio-8009"]n十二月 30, 2016 1:56:58 下午 org.apache.catalina.startup.Catalina startn信息: Server startup in 47 msnConnected to servern[2016-12-30 01:56:58,820] Artifact sinopay-web-batch:war exploded: Artifact is being deployed, please wait...n十二月 30, 2016 1:57:02 下午 org.apache.catalina.startup.TldConfig executen信息: 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.nERROR StatusLogger No Log4j context configuration provided. This is very unusual.n[2016-12-30 01:57:02,625] Artifact sinopay-web-batch:war exploded: Artifact is deployed successfullyn[2016-12-30 01:57:02,625] Artifact sinopay-web-batch:war exploded: Deploy took 3,805 millisecondsn十二月 30, 2016 1:57:08 下午 org.apache.catalina.startup.HostConfig deployDirectoryn信息: Deploying web application directory /Users/chenzhiheng/CZH/Apps/apache-tomcat-7.0.73/webapps/managern十二月 30, 2016 1:57:08 下午 org.apache.catalina.startup.HostConfig deployDirectoryn信息: Deployment of web application directory /Users/chenzhiheng/CZH/Apps/apache-tomcat-7.0.73/webapps/manager has finished in 41 msn
idea 调试TOMCAT异常
现在常用IEAD调试TOMCAT程序,有一天启动,突然无法DEBUG程序rnserver窗口如下:rnD:\tools\tomcat-6.0.39\bin\catalina.bat runrn[2014-10-01 02:41:50,801] Artifact mrp-web:war exploded: Server is not connected. Deploy is not available.rnUsing CATALINA_BASE: "C:\Users\Administrator\.IntelliJIdea13\system\tomcat\Unnamed_MRP_2"rnUsing CATALINA_HOME: "D:\tools\tomcat-6.0.39"rnUsing CATALINA_TMPDIR: "D:\tools\tomcat-6.0.39\temp"rnUsing JRE_HOME: "C:\Program Files (x86)\Java\jdk1.6.0_10"rnUsing CLASSPATH: "D:\tools\tomcat-6.0.39\bin\bootstrap.jar"rnConnected to the target VM, address: '127.0.0.1:49716', transport: 'socket'rnDEBUG提示错误rn[img=https://img-bbs.csdn.net/upload/201410/01/1412145786_856419.png][/img]rnrn其实的配置都没有动,都是采用的默认配置,网上看了很多别的人帖子,也没找找到其中的原因,还希望各位给个提示或遇到问题的帮解决下!
intellij IDEA 中无法启动tomcat 求大神求大神!!
工程名:prometheusrn工程路径:D:\workspace\prometheus\prometheus_active\prometheus-parentrntomcat路径:D:\workspace\apache-tomcat-7.0.52rnjdk版本1.7rnmaven JDK Mysql什么的都配好了 版本号也都没问题rn错误信息如下:rn下午23:50:31 All files are up-to-datern下午23:50:35 All files are up-to-datern下午23:50:39 Error running prometheus: Cannot run program "D:\workspace\apache-tomcat-7.0.52\bin\catalina.bat" (in directory "D:\workspace\apache-tomcat-7.0.52\bin"): CreateProcess error=2, ϵͳÕҲ»µ½ָrnrnrn求大神啊求大神....弄了好几天了都不行 感觉每个都配置好了 但就是启动不.... tomcat单独能启动(能正常显示网页) tomcat换过好几个都不行 软件也都重装过了 都不行!! 求大神啊求大神....[img=https://img-bbs.csdn.net/upload/201412/06/1417795764_467001.png][/img][img=https://img-bbs.csdn.net/upload/201412/06/1417795774_244465.png][/img][img=https://img-bbs.csdn.net/upload/201412/06/1417795789_530479.png][/img]rn[img=https://img-bbs.csdn.net/upload/201412/06/1417796188_645414.jpg][/img]
idea 启动异常慢
PC配置: I7-6700HQ ddr3 8G*2 system disk : intel ssd128G data disk: HDD 1TB software disk : intel ssd 512G(idea安装磁盘) 优化前:打开所需时间3-5分钟 优化后:打开20秒 修改配置文件如下: xxxx:\idea\bin\idea64.exe.vmoptions (32...
idea的debug启动异常
错误信息: Unable to open debugger port (127.0.0.1:63777): java.net.BindException "Address already in use: JVM.... 原因: 63777端口被占用 解决: 修改debug的端口
求idea,求大神
rnrn如何让以上代码失效(如[url=http://aspspider.info/nalan/][/url]页面头部每隔2秒钟跳出窗口)
java.lang.RuntimeException异常,请大神赐教!!!
11-18 09:39:51.281 19604-19604/com.example.admin.emotion E/AndroidRuntime: FATAL EXCEPTION: mainrn Process: com.example.admin.emotion, PID: 19604rn java.lang.RuntimeException: Unable to start activity ComponentInfocom.example.admin.emotion/com.example.admin.emotion.MainFragment: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setOnClickListener(android.view.View$OnClickListener)' on a null object referencern at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2793)rn at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2864)rn at android.app.ActivityThread.-wrap12(ActivityThread.java)rn at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567)rn at android.os.Handler.dispatchMessage(Handler.java:105)rn at android.os.Looper.loop(Looper.java:156)rn at android.app.ActivityThread.main(ActivityThread.java:6524)rn at java.lang.reflect.Method.invoke(Native Method)rn at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941)rn at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831)rn Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setOnClickListener(android.view.View$OnClickListener)' on a null object referencern at com.example.admin.emotion.MainFragment.initView(MainFragment.java:80)rn at com.example.admin.emotion.MainFragment.onCreate(MainFragment.java:59)rn at android.app.Activity.performCreate(Activity.java:6910)rn at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)rn at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2746)rn at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2864) rn at android.app.ActivityThread.-wrap12(ActivityThread.java) rn at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567) rn at android.os.Handler.dispatchMessage(Handler.java:105) rn at android.os.Looper.loop(Looper.java:156) rn at android.app.ActivityThread.main(ActivityThread.java:6524) rn at java.lang.reflect.Method.invoke(Native Method) rn at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941) rn at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831) rn出问题的代码:rnprotected void onCreate(Bundle savedInstanceState) rn rn super.onCreate(savedInstanceState);rn setContentView(R.layout.content_main);rn fragmentManager = getSupportFragmentManager();rn initView();rn setChioceItem(0);rn rnrn private void initView() rn firstImage = (ImageView) findViewById(R.id.first_image);rn secondImage = (ImageView) findViewById(R.id.second_image);rn thirdImage = (ImageView) findViewById(R.id.third_image);rn fourthImage = (ImageView) findViewById(R.id.fourth_image);rn firstText = (TextView) findViewById(R.id.first_text);rn secondText = (TextView) findViewById(R.id.second_text);rn thirdText = (TextView) findViewById(R.id.third_text);rn fourthText = (TextView) findViewById(R.id.fourth_text);rn firstLayout = (RelativeLayout) findViewById(R.id.first_layout);rn secondLayout = (RelativeLayout) findViewById(R.id.second_layout);rn thirdLayout = (RelativeLayout) findViewById(R.id.third_layout);rn fourthLayout = (RelativeLayout) findViewById(R.id.fourth_layout);rnrn firstLayout.setOnClickListener(MainFragment.this);rn secondLayout.setOnClickListener(MainFragment.this);rn thirdLayout.setOnClickListener(MainFragment.this);rn fourthLayout.setOnClickListener(MainFragment.this);rn
IDEA启动tomcat失败
今天突然建IDEA启动tomcat项目一直失败,尝试替换了tomcat包一样的失败,无论给定什么JMX端口都提示端口被占用,output中没有任何的提示信息。 最后发现问题是hosts文件被篡改,删除异常的hosts配置问题就解决了 ::1 localhost fe80::1%lo0 localhost 估计是这两条东西也指向了localhost,把前面的127.0.0.1 local
idea 不能启动tomcat
装了个idea8试试,部署一个最简单的web工程到tomcat上,点击run的时候,老是报错:RUN ERROR : http://localhost:8080 is already in use ,可是我的tomcat根本没启动8080端口也没有呗占用,而且单独启动tomcat一切正常,就是不能通过IEDA启动。我一直用eclipse,第一次用idea,听说极其智能?难道智能的只有高端人士才会用吗 ?
idea工具配置tomcat启动
①点击进行配置 ②开始进行配置 ③配置相关  
IDEA启动tomcat乱码
在网上找了一堆乱七八糟的办法并没什么用,最后在IDEA的安装目录的bin目录下 在这俩个文件中末尾添加以下代码即可 -Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8 再在IDEA中Ctrl+Alt+s打开Settings如下配置即可, 如能能解决问题希望给个赞,网上一些人的答案太坑了,费了半天功夫 ...
java网站启动异常求大神指导
原文太长,放在iteye里了rn请看:rnhttp://www.iteye.com/problems/100535rn大神们请在这里回答。
Tomcat 启动异常集合
[b]1.另一个程序正在使用此文件......[/b] 这种问题有可能是另外一个TOMCAT使用时在系统的环境变量中把CATALINA_HOME、CATALINA_BASE 等设置了引起的错误,TOMCAT在启动时会去启动STARTUP.BAT,但是设置了系统的全局变量后,我们的TOMCAT在调用 STARTUP.BAT的时候就会被指到环境变量引用的目录去调用,所以那个STARTUP.BAT...
TOMCAT启动异常和失败
在eclipse里启动tomcat的时候,有时候会出现异常,启动不了,重装后还是这样,只有把系统重做了,才好了好苦恼呀,服务器配置的都好着呢,为什么会出现这中情况呢?rn在eclipse里启动tomcat后,怎么在操作系统里的开始,的程序里关不了,rn怎么在操作系统里的开始,的程序里启动服务器后,在eclipse里也关不了 ,难道两个程序不是一个控制的?rn谢谢大侠门给我解一把。rn
求助~tomcat启动异常~
这几天自己在学习Servlet 的时候启动tomcat时不知道为什么就是启动不了,我也没部署项目,它就直接报这么一个错,希望各位大虾能够指点一下,感觉ing·····rnrnrn2010-8-9 23:05:58 org.apache.catalina.core.AprLifecycleListener initrn信息: Loaded APR based Apache Tomcat Native library 1.1.20.rn2010-8-9 23:05:59 org.apache.catalina.core.AprLifecycleListener initrn信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].rn2010-8-9 23:05:59 org.apache.coyote.http11.Http11AprProtocol initrn严重: Error initializing endpointrnjava.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/??????/???)????í?????Ρ? rn at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:647)rn at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)rn at org.apache.catalina.connector.Connector.initialize(Connector.java:1014)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:524)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:548)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.load(Bootstrap.java:261)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2010-8-9 23:05:59 org.apache.catalina.startup.Catalina loadrn严重: Catalina.startrnLifecycleException: Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/??????/???)????í?????Ρ? rn at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:524)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:548)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.load(Bootstrap.java:261)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2010-8-9 23:05:59 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 866 msrn2010-8-9 23:05:59 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2010-8-9 23:05:59 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.28rn2010-8-9 23:05:59 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor manager.xmlrn2010-8-9 23:05:59 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor host-manager.xmlrn2010-8-9 23:06:00 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory examplesrn2010-8-9 23:06:00 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2010-8-9 23:06:00 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2010-8-9 23:06:00 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory docsrn2010-8-9 23:06:00 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory ROOTrn2010-8-9 23:06:00 org.apache.coyote.http11.Http11AprProtocol startrn严重: Error starting endpointrnjava.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/??????/???)????í?????Ρ? rn at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:647)rn at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:754)rn at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137)rn at org.apache.catalina.connector.Connector.start(Connector.java:1087)rn at org.apache.catalina.core.StandardService.start(StandardService.java:534)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(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:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn2010-8-9 23:06:00 org.apache.catalina.startup.Catalina startrn严重: Catalina.start: rnLifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/??????/???)????í?????Ρ? rn at org.apache.catalina.connector.Connector.start(Connector.java:1094)rn at org.apache.catalina.core.StandardService.start(StandardService.java:534)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(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:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn2010-8-9 23:06:00 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1236 msrn2010-8-9 23:06:00 org.apache.catalina.core.StandardServer awaitrn严重: StandardServer.await: create[8005]: rnjava.net.BindException: Address already in use: JVM_Bindrn at java.net.PlainSocketImpl.socketBind(Native Method)rn at java.net.PlainSocketImpl.bind(Unknown Source)rn at java.net.ServerSocket.bind(Unknown Source)rn at java.net.ServerSocket.(Unknown Source)rn at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)rn at org.apache.catalina.startup.Catalina.await(Catalina.java:662)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:614)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:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn2010-8-9 23:06:00 org.apache.coyote.http11.Http11AprProtocol pausern信息: Pausing Coyote HTTP/1.1 on http-8080rn2010-8-9 23:06:00 org.apache.coyote.ajp.AjpAprProtocol pausern信息: Pausing Coyote AJP/1.3 on ajp-8009rn
求大神赐教编码问题?
[code=java]import java.io.FileInputStream;rnimport java.io.FileWriter;rnimport java.io.IOException;rnimport java.io.UnsupportedEncodingException;rnimport java.util.Arrays;rnrnrnpublic class Demo8 rn public static void main(String [] args) throws IOException rn String str = "中国";rn System.out.print("默认:"+Arrays.toString(str.getBytes())+"\r\n");rn System.out.println("gbk2312码表:"+Arrays.toString(str.getBytes("gb2312")));rn System.out.println("utf-8码表:"+Arrays.toString(str.getBytes("utf-8")));rn System.out.println("unicode码表:"+Arrays.toString(str.getBytes("unicode")));rn rn FileWriter writer = new FileWriter("d:\\1.txt");rn writer.write(str);rn writer.flush();rn FileInputStream in = new FileInputStream("d:\\1.txt");rn System.out.println("我一个一个字节的读回来怎么不一样了");rn System.out.print(in.read()+"-");rn System.out.print(in.read()+"-");rn System.out.print(in.read()+"-");rn System.out.print(in.read()+"-");rn System.out.print(in.read()+"-");rn System.out.print(in.read()+"-");rn rnrn rnrn[/code]
tomcat启动异常
Tomcat启动时出现 严重: Exceptionprocessing Global JNDI Resources”的异常                      替换数据库 Resource中的factory为                    factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
求助,启动tomcat异常
[b]异常信息如下,请问是什么问题?[/b]rnrn严重: Exception starting filter struts2rnClass: com.opensymphony.xwork2.spring.SpringObjectFactoryrnFile: SpringObjectFactory.javarnMethod: getClassInstancernLine: 209 - com/opensymphony/xwork2/spring/SpringObjectFactory.java:209:-1rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4038)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4692)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)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:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)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:701)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:585)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.NullPointerExceptionrn at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFactory.java:209)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyResultType(XmlConfigurationProvider.java:519)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addResultTypes(XmlConfigurationProvider.java:490)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:446)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:264)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:193)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)rn ... 29 morern
TOMCAT启动异常,求救
TOMCAT启动报错:ERROR [org.hibernate.util.JDBCExceptionReporter] Io 异常: The Network Adapter could not establish the connectionrn数据库连接测试的时候可以连上,数据也可以插入,配置文件应该也没有问题,[code=Java]rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn org.hibernate.dialect.SQLServerDialectrn rn truern rn rn rn rn rn rn rn rn rn rn rn rn [/code]rnrn可以登陆成功,但是成功后的页面只显示了header,下面显示不出来,求救,求教
启动tomcat时候的异常
[color=#FF0000]java.lang.ClassNotFoundException: org.springframework.scripting.config.LangNamespaceHandler[/color]rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at org.springframework.util.ClassUtils.forName(ClassUtils.java:201)rn at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:117)rn at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.(DefaultNamespaceHandlerResolver.java:96)rn at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.(DefaultNamespaceHandlerResolver.java:82)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XmlBeanDefinitionReader.java:488)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:477)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)rn at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)rn at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)rn at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:355)rn at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)rn at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)rn at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)rn at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)rn at javax.servlet.GenericServlet.init(GenericServlet.java:212)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)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:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2011-06-23 18:52:09 Ignoring namespace handler [org.springframework.ejb.config.JeeNamespaceHandler]: handler class not foundrnjava.lang.ClassNotFoundException: org.springframework.ejb.config.JeeNamespaceHandlerrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at org.springframework.util.ClassUtils.forName(ClassUtils.java:201)rn at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:117)rn at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.(DefaultNamespaceHandlerResolver.java:96)rn at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.(DefaultNamespaceHandlerResolver.java:82)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XmlBeanDefinitionReader.java:488)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:477)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)rn at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)rn at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)rn at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:355)rn at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)rn at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)rn at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)rn at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)rn at javax.servlet.GenericServlet.init(GenericServlet.java:212)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)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:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnrnrn这2个异常我搜过后说是添加上spring-remoting.jar spring-support.jar 这2个包,但是还出异常。。。rnrn另外还有下面这样的异常rn
启动tomcat异常
之前一切正常,重新启动一次后就抛出了:rn严重: End event threw exceptionrn不知道哪位大虾能告知下如何解决
tomcat 7启动异常
  tomcat-7.0.5 异常:   java.lang.IllegalArgumentException: taglib definition not consistent with specification version     解决: taglib标签外加上jsp-config标签   <jsp-config> <taglib> ...
tomcat 启动异常,解决办法
tomcat启动异常,解决办法,删掉tomcat,重新部署。别说哥坑,坑也是一种办法。
急,TOMCAT启动异常
启动TOMCAT5出现的异常:rn#rn# An unexpected error has been detected by HotSpot Virtual Machine:rn#rn# EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x00bd0618, pid=2944, tid=2964rn#rn# Java VM: Java HotSpot(TM) Client VM (1.5.0_02-b09 mixed mode)rn# Problematic frame:rn# v ~RuntimeStub::init_check_patching Runtime1 stubrn#rnrn--------------- T H R E A D ---------------rnrnJAVA_HOMErnCATALINA_HOMErn都正常的rnrn我用5.59和5.09都出现此问题,我上GOOGLE查过,有些人会出现此问题,大概是JVM的问题rnrn我试过重装系统,重装JDK,有时行了,但重起一下系统又不行
tomcat启动停止异常
[root@iZ25a3ncjmjZ bin]# shutdown.sh rnUsing CATALINA_BASE: /root/apache-tomcat-7.0.70rnUsing CATALINA_HOME: /root/apache-tomcat-7.0.70rnUsing CATALINA_TMPDIR: /root/apache-tomcat-7.0.70/temprnUsing JRE_HOME: /usr/local/java/jdk1.7.0_79rnUsing CLASSPATH: /root/apache-tomcat-7.0.70/bin/bootstrap.jar:/root/apache-tomcat-7.0.70/bin/tomcat-juli.jarrnUsage: catalina.sh ( commands ... )rncommands:rn debug Start Catalina in a debuggerrn debug -security Debug Catalina with a security managerrn jpda start Start Catalina under JPDA debuggerrn run Start Catalina in the current windowrn run -security Start in the current window with security managerrn start Start Catalina in a separate windowrn start -security Start in a separate window with security managerrn stop Stop Catalina, waiting up to 5 seconds for the process to endrn stop n Stop Catalina, waiting up to n seconds for the process to endrn stop -force Stop Catalina, wait up to 5 seconds and then use kill -KILL if still runningrn stop n -force Stop Catalina, wait up to n seconds and then use kill -KILL if still runningrn configtest Run a basic syntax check on server.xml - check exit code for resultrn version What version of tomcat are you running?rnNote: Waiting for the process to end and use of the -force option require that $CATALINA_PID is defined
tomcat 启动异常
2013-11-26 9:17:25 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: C:\Program Files\Java\jdk1.6.0_43\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_43\jre\bin;C:/Program Files/Java/jdk1.6.0_43/bin/../jre/bin/server;C:/Program Files/Java/jdk1.6.0_43/bin/../jre/bin;C:/Program Files/Java/jdk1.6.0_43/bin/../jre/lib/amd64;D:\app\Administrator\product\11.2.0\dbhome_1\bin;C:\Program Files\Java\jdk1.6.0_43\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows7Master;C:\Program Files\TortoiseSVN\bin;D:\apache-maven-3.1.1\bin;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;D:\eclipse;;.rn2013-11-26 9:17:25 org.apache.tomcat.util.digester.SetPropertiesRule beginrn警告: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.j2ee.server:jjh_web' did not find a matching property.rn2013-11-26 9:17:25 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["http-bio-8080"]rn2013-11-26 9:17:25 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["ajp-bio-8009"]rn2013-11-26 9:17:25 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 428 msrn2013-11-26 9:17:25 org.apache.catalina.core.StandardService startInternalrn信息: Starting service Catalinarn2013-11-26 9:17:25 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/7.0.47rn2013-11-26 9:17:26 org.apache.tomcat.websocket.server.WsSci onStartuprn信息: JSR 356 WebSocket (Java WebSocket 1.0) support is not available when running on Java 6. To suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $CATALINA_HOME/lib or add the WebSocketJARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE/conf/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available. rn2013-11-26 9:17:26 org.apache.catalina.loader.WebappClassLoader validateJarFilern信息: validateJarFile(C:\Users\Administrator\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jjh_web\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classrn2013-11-26 9:17:28 org.apache.catalina.startup.ContextConfig processAnnotationsJarrn严重: Unable to process Jar entry [com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class] from Jar [jar:file:/C:/Users/Administrator/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/jjh_web/WEB-INF/lib/icu4j-2.6.1.jar!/] for annotationsrnorg.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60rn at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:133)rn at org.apache.tomcat.util.bcel.classfile.ConstantPool.(ConstantPool.java:60)rn at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209)rn at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2134)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:2010)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1976)rn at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1961)rn at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1319)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)rn at java.lang.Thread.run(Thread.java:662)rnSLF4J: Class path contains multiple SLF4J bindings.rnSLF4J: Found binding in [jar:file:/C:/Users/Administrator/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/jjh_web/WEB-INF/lib/logback-classic-0.9.28.jar!/org/slf4j/impl/StaticLoggerBinder.class]rnSLF4J: Found binding in [jar:file:/C:/Users/Administrator/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/jjh_web/WEB-INF/lib/slf4j-jcl-1.7.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]rnSLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
求大神赐教!!!!!!
10.125.197.118:8080/17lai/checkpreload.htmrn咋么在项目WEB-INF下配置把17lai这个应用名去掉rn10.125.197.118:8080/checkpreload.htmrn
求单元测试大神赐教
我想用单元测试来测试一个web项目,此项目中用到了hibernate和spring,怎么样才能对此项目进行单元测试。目前本人在看junit,由于其中用到了hibernate,每个模块和其他模块的关联也比较多,想做单元测试难度比较大,求赐教应该怎么做。rn现在主要是不知道具体操作应该如何入手。迷茫啊!~
TOMCAT启动异常
最近用Eclipse开发,安装了tomcat插件,但是启动的时候出现异常。 [quote]2010-8-5 11:05:14 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded Apache Tomcat Native library 1.1.14. 2010-8-5 11:05:14 org.apache.catali...
Tomcat 7启动异常
Tomcat 7启动异常:java.lang.IllegalArgumentException: taglib definition not consistent with specification version 异常代码: java.lang.IllegalArgumentException: taglib definition not consistent with speci...
Tomcat启动异常
Tomcat1.首先检查项目的配置文件1)pom.xml 中jar包依赖是否冲突?如果继承了其他maven的Jar包  看看是否有版本冲突,其次检查配置文件的顺序,正常的顺序为上图展示的那样(没有的跳过,总的顺序最好不要变)2.分布式部署的项目中 多maven的继承和依赖一定要在运行前打包成响应的jar ,pom,war包父类为pom包  工具类为jar包  ...
eclipse 启动 tomcat 异常
rn tomcat: apache-tomcat-7.0.54-windows-x86 绿色版rn eclipse: eclipse-jee-luna-R-win32 、 eclipse-jee-indigo-SR2-win32rn 直接在 $TOMCAT_HOME/bin 下双击 startup.bat 可以正常启动,无任何问题,rn 但是在 eclipse 中配置好之后,加入web工程,启动tomcat,就出现了下面的错误信息:rnrn  请问,这个问题怎么解决?rn
tomcat 启动后异常
2014-12-6 20:15:20 org.apache.jk.common.ChannelSocket processConnectionrn警告: processCallbacks status 2rn2014-12-6 20:16:31 org.apache.jk.common.ChannelSocket processConnectionrn警告: processCallbacks status 2rn2014-12-6 20:17:51 org.apache.jk.common.ChannelSocket processConnectionrn警告: processCallbacks status 2rn2014-12-6 20:18:09 org.apache.jk.common.ChannelSocket processConnectionrn警告: processCallbacks status 2rn2014-12-6 20:19:16 org.apache.jk.common.ChannelSocket processConnectionrn警告: processCallbacks status 2rn2014-12-6 20:19:31 org.apache.jk.common.ChannelSocket processConnectionrn警告: processCallbacks status 2rn2014-12-6 20:20:07 org.apache.jk.common.ChannelSocket processConnectionrn警告: processCallbacks status 2rn2014-12-6 20:20:48 org.apache.jk.common.ChannelSocket processConnectionrn警告: processCallbacks status 2rn2014-12-6 20:21:05 org.apache.jk.common.ChannelSocket processConnectionrn警告: processCallbacks status 2rn2014-12-6 20:24:14 org.apache.jk.common.ChannelSocket processConnectionrn警告: processCallbacks status 2rnrnrn一直报这个,都快一分钟一个了,该怎么解决呢?
Tomcat 启动端口冲突异常
项目发布时,控制台输入了下面的异常、 严重: StandardServer.await: create[8005]:  java.net.BindException: Address already in use: JVM_Bind         at java.net.PlainSocketImpl.socketBind(Native Method) at java.net
tomcat在启动时报的异常
在部署应用时,tomcat启动后台报如下异常日志: 严重: Error filterStart2012-2-16 14:26:44 org.apache.catalina.core.StandardContext start严重: Context [/sshdemo] startup failed due to previous errors1297 [main] INFO  org.sprin...
eclipse下tomcat启动异常
我是一名初学者,最近在学习过程中遇到一个比较烦恼的问题,在eclipse下新建一个项目,运行时tomcat启动报如下的异常,而奇怪的是之前都正常运行过的,也不知道具体哪出了什么问题,请大侠们帮看看,小弟我不甚感激!rn2009-6-28 22:30:07 org.apache.tomcat.util.digester.SetPropertiesRule beginrn警告: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.j2ee.server:FileManager' did not find a matching property.rn2009-6-28 22:30:07 org.apache.catalina.core.AprLifecycleListener initrn信息: Loaded APR based Apache Tomcat Native library 1.1.16.rn2009-6-28 22:30:07 org.apache.catalina.core.AprLifecycleListener initrn信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].rn2009-6-28 22:30:08 org.apache.coyote.http11.Http11AprProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8888rn2009-6-28 22:30:08 org.apache.coyote.ajp.AjpAprProtocol initrn信息: Initializing Coyote AJP/1.3 on ajp-8009rn2009-6-28 22:30:08 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 1133 msrn2009-6-28 22:30:08 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2009-6-28 22:30:08 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.18rn2009-6-28 22:30:09 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter Set Character Encodingrnjava.lang.NoClassDefFoundError: Filterrn at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:621)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)rn at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847)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 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:4363)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)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)rnCaused by: java.lang.ClassNotFoundException: Filterrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn ... 25 morern2009-6-28 22:30:09 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2009-6-28 22:30:09 org.apache.catalina.core.StandardContext startrn严重: Context [/FileManager] startup failed due to previous errorsrn2009-6-28 22:30:09 org.apache.coyote.http11.Http11AprProtocol startrn信息: Starting Coyote HTTP/1.1 on http-8888rn2009-6-28 22:30:09 org.apache.coyote.ajp.AjpAprProtocol startrn信息: Starting Coyote AJP/1.3 on ajp-8009rn2009-6-28 22:30:09 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1090 msrn
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件