2012-03-21 66 views
1

我敢肯定,这是简单的东西,但我有超过100个这样的错误:错误中移动在Eclipse(靛蓝EE)到IntelliJ IDEA的

enter image description here

和:

enter image description here

我指出Edit Configuration到Tomcat的位置,所以我错过了什么?

编辑:

好,感谢@CrazyCoder我加TomcatModule Dependencies,所以现在我已经留下了一个模块,我不知道它应该是:JUnit

enter image description here

编辑2:

@CrazyCoder答曰:%IDEA_INSTALL_DIR%\lib\junit-4.10.jar

+0

如果您使用Gradle进行依赖关系管理,那么它能够为Eclipse和IntelliJ生成元数据文件,从而正确设置类路径,从而避免了这种麻烦。这是一个巨大的福音。 – 2012-03-21 15:25:24

回答

2

将Tomcat应用程序服务器添加到Module Dependencies提供的范围内。

+0

抛出许多错误,我现在必须添加'JUnit'。它在哪里? – Tar 2012-03-21 14:40:51

+1

'%IDEA_INSTALL_DIR%\ lib \ junit-4.10.jar' – CrazyCoder 2012-03-21 14:46:34