myeclipse导入一个web工程文件,部署的时候出现An internal error occurred during:"Launching .. on tomcat 6.x 这个问题,detail显示:An internal error occurred during: "Launching ide100cn on Tomcat 6.x".
java.lang.NullPointerException
有解决方法吗?

解决方案 »

  1.   

    空指针异常!看一下你的Web内容肯定一处地方给赋空值了!!应该不是Tomcat出错的原因!
      

  2.   

    java.lang.NullPointerException
    at com.genuitec.eclipse.ast.deploy.core.packaging.WarPackager.deployJarsOnClasspath(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.packaging.DefaultPackagerStrategy.deployJarsOnClasspath(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.packaging.PackageUtils.deployJarsOnClasspath(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.WebDeployment.ć(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.WebDeployment.doProjectTypeSpecificPostResyncAll(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.Deployment.resyncAll(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.ModuleDeployment.deployAsExplodedArchive(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.Deployment.deploy(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.Deployment.performStdRedeploy(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.Deployment.redeploy(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.ā(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.launch(Unknown Source)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      

  3.   

    原来我我的classpath有问题,只要按problem那里提示的错误,把classpath里面的东西删除就可以了