当前位置: 代码迷 >> J2SE >> 各位大侠们,帮小弟我们OK一下两个有关问题,只要进来分数都是100分
  详细解决方案

各位大侠们,帮小弟我们OK一下两个有关问题,只要进来分数都是100分

热度:411   发布时间:2016-04-24 17:58:36.0
各位大侠们,帮我们OK一下两个问题,只要进来分数都是100分
各位大侠们,帮我们OK一下两个问题,只要进来分数都是100分,我用的是eclipse3.0+tomcat   4.1+lomboz_3.0.1,全都安装在C盘

1.建立JSP文件时出错
在Lomboz   J2EE   Project新建一个项目TomcatSample,但是建立index.JSP文件后提示:An   error   has   occurred   when   creating   this   editor
(当编辑这个建立的这个文件时发生错误)

2.不能运行Tomcat服务器
单击Lomboz   J2EE   view选项,选择apache   tomcat   v4.1.0服务器,右击Run   server出现以下信息:
2007-1-4   21:07:38   org.apache.commons.digester.Digester   startElement
严重:   Begin   event   threw   exception
java.lang.reflect.InvocationTargetException
at   sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native   Method)
at   sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at   sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at   java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at   org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:49)
at   org.apache.commons.digester.Rule.begin(Rule.java:152)
at   org.apache.commons.digester.Digester.startElement(Digester.java:1361)
at   org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
at   org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at   org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at   org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at   org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at   org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at   org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at   org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at   org.apache.commons.digester.Digester.parse(Digester.java:1647)
at   org.apache.catalina.startup.Catalina.start(Catalina.java:415)
at   org.apache.catalina.startup.Catalina.execute(Catalina.java:345)
at   org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)
at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at   java.lang.reflect.Method.invoke(Method.java:324)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:150)
Caused   by:   java.lang.NoClassDefFoundError:   javax/management/MBeanRegistration
at   java.lang.ClassLoader.findBootstrapClass(Native   Method)
at   java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:723)
at   java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at   java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at   sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at   java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at   org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:893)
at   org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:809)
at   org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:893)
at   org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:809)
at   java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at   java.lang.ClassLoader.defineClass0(Native   Method)
at   java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at   java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at   java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
  相关解决方案