Closed GoogleCodeExporter closed 9 years ago
I don't have this problems during the Build.
Which Maven und JDK Versions do you use?
Original comment by johgep
on 5 Apr 2013 at 8:23
I modify the Eclipse JDK version 1.5. This problem does not appear.But
another error.
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:2.9:jar (attach-source) on
project struts2-jquery-grid-showcase: MavenReportException: Error while
creating archive:
[ERROR] Exit code: 1 -
D:\Workspaces\Workspace\struts2-jquery-all\trunk\struts2-jquery-grid-showcase\sr
c\main\java\com\jgeppert\struts2\jquery\grid\showcase\dao\AbstractSimpleGenericD
ao.java:13: 无法访问
com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget
[ERROR] 错误的类文件:
D:\Workspaces\Workspace\struts2-jquery-all\trunk\struts2-jquery-grid-showcase\sr
c\main\webapp\WEB-INF\lib\struts2-fullhibernatecore-plugin-2.2.2-GA.jar(com/goog
lecode/s2hibernate/struts2/plugin/annotations/SessionTarget.class)
[ERROR] 类文件具有错误的版本 50.0,应为 49.0
[ERROR]
请删除该文件或确保该文件位于正确的类路径子目录中。
[ERROR] import
com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget;
[ERROR] ^
[ERROR]
[ERROR] Command line was: D:\dev\Java\jdk1.5.0_22\jre\..\bin\javadoc.exe
@options
@packages
My environment variables:
JAVA_HOME=D:\dev\Java\jdk1.6.0_43.
MAVEN_HOME=D:\dev\apache-maven-3.0.4.
Eclipse Java Compiler: 1.5.
Installed JREs: jdk1.5.0_22=D:\dev\Java\jdk1.5.0_22
Original comment by zhaixue...@gmail.com
on 6 Apr 2013 at 1:40
Attachments:
Do you have this problems with every build? Or only sometimes? It looks like
you build has problems do resolve the s2-hibernate plugin. which is not a maven
artifact.
Original comment by johgep
on 7 Apr 2013 at 10:32
Hi,
The eclipse workspace encoding default encoding into utf-8 to recompile passed,
but mven to perform the javadoc build documentation console output Chinese
garbled.
Thanks.
Original comment by zhaixue...@gmail.com
on 22 Apr 2013 at 5:36
So do you solve it?
Original comment by johgep
on 25 Apr 2013 at 7:40
Yes, solved.
Original comment by zhaixue...@gmail.com
on 26 Apr 2013 at 6:38
great! :-)
Original comment by johgep
on 26 Apr 2013 at 6:59
Original issue reported on code.google.com by
zhaixue...@gmail.com
on 4 Apr 2013 at 6:28