eclipse中Maven项目pom.xml报错:com.thoughtworks.xstream.io.HierarchicalStreamDriver
2018-02-28 13:40
841 查看
eclipse中创建Maven项目时
pom.xml报错:com.thoughtworks.xstream.io.HierarchicalStreamDriver
解决方案1、在pom文件中加入maven-war-plugin
<plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.6</version> <configuration> <webResources> <resource> <directory>src/main/webapp/WEB-INF</directory> <filtering>true</filtering> <targetPath>WEB-INF</targetPath> </resource> </webResources> </configuration> </plugin> </plugins>
解决方案2、在pom中配置依赖
<dependency> <groupId>com.thoughtworks.xstream</groupId> <artifactId>xstream</artifactId> <version>1.4.9</version> </dependency>
解决方案3:删除本地仓库下载的JAR包,
C:\Users\EuphemiaShaw\.m2\repository\com\thoughtworks\xstream\xstream
这个文件夹再update
最后我这三种方法使用后还是没解决,最后解决是
改成jdk自带的jre就好了,也不知道为什么
相关文章推荐
- eclipse中Maven项目pom.xml报错:com.thoughtworks.xstream.io.HierarchicalStreamDriver
- Eclipse内Maven项目POM报错:com.thoughtworks.xstream.io.HierarchicalStreamDriver
- pom.xml报错 com.thoughtworks.xstream.io.HierarchicalStreamDriver
- eclipse中Maven项目pom.xml报错:com.thoughtworks.xstream.XStream
- com.thoughtworks.xstream.io.StreamException: Cannot create XmlPullParser
- myeclipse创建maven项目pom报错,Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1
- 建立Maven工程时出错,Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1
- maven的pom 提示错误 Failure to transfer com.thoughtworks.xstream:xstream:jar:
- (4)ClassNotFoundException: org.dom4j.io.SAXReader 以及com.thoughtworks.xstream.XStream
- Maven错误问题解决无法传输com.thoughtworks.xstream:xstream:jar:1.3.1......
- Maven错误问题解决 Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from https://repo.maven
- maven的pom 提示错误 Failure to transfer com.thoughtworks.xstream:xstream:jar:
- jmeter导入jmx文件报错:missing class com.thoughtworks.xstream.converters.ConversionException
- com.thoughtworks.xstream.XStream操作XML和java对象的一些用法
- com.thoughtworks.xstream.converters.ConversionException
- com.thoughtworks.xstream.converters.ConversionException
- XStream异常:对象转为XML时,会把"_"转成"__";报错:<init>(Lcom/thoughtworks/xstream/io/naming/NameCoder;)V
- JMeter导入jmx运行脚本时出现这样的错误jmeter.save.SaveService: Conversion error com.thoughtworks.xstream.converters.ConversionException:
- [org.jeecgframework.core.common.exception.MyExceptionHandler]com.thoughtworks.xstream.mapper.CannotR
- jmeter打开xml文件报jmeter.save.SaveService: Conversion error com.thoughtworks.xstream