要使用kebeja解析dxf文件,但是找不到依赖的包,浪费了一些时间,分享给大家
方法1:直接在仓库下载,地址:
添加上依赖,刷新maven会报错,把下载的文件放到仓库文件替换掉,再刷新maven即可
- <dependency>
- <groupId>org.kabejagroupId>
- <artifactId>kabejaartifactId>
- <version>0.4version>
- dependency>
- <dependency>
- <groupId>org.kabejagroupId>
- <artifactId>kabeja-svgartifactId>
- <version>0.4version>
- dependency>
- <dependency>
- <groupId>org.kabejagroupId>
- <artifactId>kabeja-xsltartifactId>
- <version>0.4version>
- dependency>
方法2:在maven配置仓库地址,刷新maven即可
- <repositories>
- <repository>
- <id>logicaldoc.sourceforge.netid>
- <name>logicaldoc.sourceforge.netname>
- <url>http://logicaldoc.sourceforge.net/maven/url>
- <releases>
- <enabled>trueenabled>
- releases>
- <snapshots>
- <enabled>falseenabled>
- snapshots>
- repository>
- repositories>
添加上相关依赖:
- <dependency>
- <groupId>org.kabejagroupId>
- <artifactId>kabejaartifactId>
- <version>0.4version>
- dependency>
- <dependency>
- <groupId>org.kabejagroupId>
- <artifactId>kabeja-svgartifactId>
- <version>0.4version>
- dependency>
- <dependency>
- <groupId>org.kabejagroupId>
- <artifactId>kabeja-xsltartifactId>
- <version>0.4version>
- dependency>