博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
eclipse导入svn项目经常出现的问题
阅读量:3907 次
发布时间:2019-05-23

本文共 1239 字,大约阅读时间需要 4 分钟。

  1. 导入

Imprort—->Existing Projects Into WorkSpace——>Select root directory——>finish

 

 

 

2. 将项目发布到tomcatwebapp的目录下面

              右击项目——Properties——Project Facts——勾选Dynamic Web Module3.0+Java1.7+JavaScript——Apply——Ok——然后new 一个新server

 

 

3.Deployment Assembly做适当的修改

 

4.若出现部分类报红的情况

              方法:项目右键–>Properties–>Java Build Path,切换到libraries tab页,找到JRE System Library移除, 然后再点击Add Library–>JRE System Library添加即可。 

 

5.若项目中出现中文乱码

              Window——preferences——general——workspace——text file encoding选择UTF-8

 

6若出现import javax.servle…….报红的情况

              项目右键——Properties——Java Build Path——libraries——Add Library

              ——ServerRuntime——选择tomcat

 

7若出现Context initialization failed

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\software\apache-tomcat-7.0.92\webapps\Assist\WEBINF\classes\com\huawei\assist\base\SpringTestCase.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [D:\software\apache-tomcat-7.0.92\webapps\Assist\WEB-INF\classes\com\huawei\assist\base\SpringTestCase.class]; nested exception is java.lang.IllegalArgumentException

 

项目右键——Properties——JavaCompiler——Compiler compliance level 1.7

转载地址:http://hdqen.baihongyu.com/

你可能感兴趣的文章
递归回溯
查看>>
穷举递归和回溯算法终结篇
查看>>
Exhaustive recursion and backtracking
查看>>
递归算法的时间复杂度终结篇
查看>>
全排列算法的递归与非递归实现
查看>>
Python Division and Remainders
查看>>
Python Division //
查看>>
BinarySearch
查看>>
二分查找(Binary Search)需要注意的问题,以及在数据库内核中的实现
查看>>
Arithmetic Progression
查看>>
Bisearch Summary
查看>>
Python - abs vs fabs
查看>>
Python integer ranges
查看>>
Python - Search Insert Position
查看>>
Find a Peak Element
查看>>
Find the Minimum Element in A sorted and Rotated Array
查看>>
BAT Levels
查看>>
Netflix Architecture
查看>>
Mobile architecture
查看>>
Why Netflix chose NGINX
查看>>