我正在尝试使用Programmers Reference将i.lon100与JAVA连接。可以从页面http://home.elka.pw.edu.pl/~mkolasin/
下载带有程序员参考的pom.xml和.pdf文件我的eclipse版本是:
面向Web开发人员的Eclipse Java EE IDE。
版本:Juno Service Release 2
构建ID:20130225-0426
Maven版本:2.2.1(在程序员参考中推荐)
a)首先,我在第22-6页遇到了安装Maven Embedder和Maven Integration for Eclipse的问题,因为我认为http://m2eclipse.sonatype.org/update/页面不存在。所以,我的第一个问题是:还有其他网站我可以使用eclipse下载这些软件吗?
B)我从eclipse市场安装:even的Maven集成,但我找不到Maven Embedder。现在我已经右击项目:RUN AS - Maven Built而不是Run AS - maven包它还可以吗?
c)当我尝试再次执行第22-13页时“在Project Explorer视图中,右键单击ilon-ws文件夹,指向”运行方式“,然后单击”确定“。 Maven套餐。这会生成java代理类并构建jar。“我在控制台中出错,我不知道如何解决它。
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org...ticLoggerBinder for further details.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.echelon.es:ilon-ws:jar:4.03-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:jaxws-maven-plugin is missing. @ line 71, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 113, column 23
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 124, column 23
[WARNING] 'repositories.repository.layout' for java.net uses the unsupported value 'legacy', artifact resolution might fail. @ line 36, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ECHELON i.LON SmartServer 4.03-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.985s
[INFO] Finished at: Tue Jun 04 20:20:25 CEST 2013
[INFO] Final Memory: 4M/105M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ilon-ws: Could not resolve dependencies for project com.echelon.es:ilon-ws:jar:4.03-SNAPSHOT: Failed to collect dependencies for [com.sun.xml.ws:jaxws-rt:jar:2.2 (compile)]: Failed to read artifact descriptor for woodstox:wstx-asl:jar:3.2.1: Could not transfer artifact woodstox:wstx-asl:pom:3.2.1 from/to java.net (http://download.java.net/maven/1/): No connector available to access repository java.net (http://download.java.net/maven/1/) of type legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache....lutionException
我尝试将slf4j-nop-1.7.5.jar文件添加到buildpath中,但没有任何更改。
请给我任何建议或帮助,因为我最近几天无法处理,我不知道在哪里可以找到答案。
此致 科拉塔