依賴性一旦把碧玉報告依賴性:解決碧玉報告在行家
<dependency>
<groupId>jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>3.5.0</version>
</dependency>
在我的pom.xml中,我收到以下錯誤:
Unable to get dependency information: Unable to read local copy of metadata: Can
not read metadata from 'C:\mavenrepo\.m2\repository\commons-collections\commons-
collections\maven-metadata-jaspersoft.xml': end tag name </td> must match start
tag name <span> from line 257 (position: END_TAG seen ...</span></span></td>...
@261:173)
commons-collections:commons-collections:jar:null
from the specified remote repositories:
com.springsource.repository.bundles.external (http://repository.springsource.c
om/maven/bundles/external),
com.springsource.repository.bundles.release (http://repository.springsource.co
m/maven/bundles/release),
central (http://repo1.maven.org/maven2),
Springframework milestone (http://maven.springframework.org/milestone),
jaspersoft (http://www.jasperforge.org/maven2),
jboss-public-repository-group (http://repository.jboss.org/nexus/content/group
s/public),
spring-maven-snapshot (http://s3.amazonaws.com/maven.springframework.org/snaps
hot)
Path to dependency:
1) org.mytrac:mytrac:war:1.0-SNAPSHOT
2) jasperreports:jasperreports:jar:3.5.0
據早報:http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=80434
我試過以下解決方案:
在的settings.xml在* E:\ maven的主文件夾\ Apache的行家-2.2.1-BIN \ Apache的行家-2.2.1 \ CONF *文件夾:
我把:
<profile>
<repositories>
<repository>
<id>jaspersoft</id>
<name>Jasper Soft</name>
<url>http://jasperforge.org/maven2/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</profile>
和鏡子:
<mirror>
<id>my-jasperreports-repository</id>
<url>http://uk.maven.org/maven2</url>
<mirrorOf>jaspersoft</mirrorOf>
</mirror>
但問題仍然存在。
有什麼建議嗎?
謝謝...