An internal error occurred during: "Launchingon MyEclipse Tomcat ". java.lang.NullPointerException
我是考别人的工程到自己的myeclipse,没有错误,但是无法启动,所以打不开网页
可选中1个或多个下面的关键词,搜索相关资料。也可直接点“搜索资料”搜索整个问题。
- myeclipse
- tomcat
- nullpointerexception
- internal
- launchingon
- 搜索资料
举报描述不清违规检举侵权投教你一个方法解决这个问题,你不要直接拷贝工程到myeclipse里面,你可以先建一个和你拷贝来名称一样的web工程,然后找到这个工程所在的位置,将你需要拷贝的工程下所有文件都复制到你先建的web工程文件夹下面,基本就可以了
D:\Workspaces\servletJump_3\.project
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>servletJump3</name>
<projectDescription>
<name>servletJump3</name>
D:\Workspaces\MyEclipse 10\servletJump2\.project
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>servletJump2</name>
<projectDescription>
<name>servletJump2</name>
cd /d "D:\Workspaces\MyEclipse 10"
del ".metadata\.plugins\org.eclipse.core.runtime\.settings\com.genuitec.eclipse.ast.deploy.core.prefs"
pause
del ".metadata\.plugins\org.eclipse.core.runtime\.settings\com.genuitec.eclipse.ast.deploy.core.prefs"
pause
D:\Workspaces\MyEclipse 10\servletJump3\.mymetadata
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="servletJump3"
id="myeclipse.1458263642894"
context-root="/servletJump"
j2ee-spec="6.0"
archive="servletJump3.war">
<attributes>
<attribute name="webrootdir" value="WebRoot" />
</attributes>
</project-module>
<project-module
type="WEB"
name="servletJump3"
id="myeclipse.1458263642894"
context-root="/servletJump"
j2ee-spec="6.0"
archive="servletJump3.war">
<attributes>
<attribute name="webrootdir" value="WebRoot" />
</attributes>
</project-module>
D:\Workspaces\servletJump_3\.mymetadata
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="servletJump"
id="myeclipse.1458263642894"
context-root="/servletJump"
j2ee-spec="6.0"
archive="servletJump.war">
<attributes>
<attribute name="webrootdir" value="WebRoot" />
</attributes>
</project-module>
<project-module
type="WEB"
name="servletJump"
id="myeclipse.1458263642894"
context-root="/servletJump"
j2ee-spec="6.0"
archive="servletJump.war">
<attributes>
<attribute name="webrootdir" value="WebRoot" />
</attributes>
</project-module>