tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samwun9988 <leiwun2...@gmail.com>
Subject Re: Can't invoke web service
Date Sun, 11 Sep 2011 09:50:39 GMT
Thank you for the suggestion again.
I have executed the following steps:

Step 1.
mvn install:install-file -Dfile=c:\work\bsh-2.0b5.jar
-DgroupId=org.beanshell -DartifactId=bsh -Dversion=2.0b5 -Dpackaging=jar

Step 2
Added the following codes in pom.xml file:

<dependency>
      <groupId>org.beanshell</groupId>
      <artifactId>bsh</artifactId>
      <version>2.0b5</version>
    </dependency>

But it still failed withthe following error:


sam@sam-PC /cygdrive/c/work/test2/simple-webservice
$ mvn clean install
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO]
------------------------------------------------------------------------
[INFO] Building OpenEJB :: Examples :: Simple Webservice 1.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2.487s
[INFO] Finished at: Sun Sep 11 19:48:16 EST 2011
[INFO] Final Memory: 7M/88M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project simple-webservice: Could not
resolve dependencies for project
org.superbiz:simple-webservice:jar:1.1-SNAPSHOT: Failure to find
org.beanshell:bsh:jar:2.0b5 in
http://localhost:8081/nexus/content/groups/public was cached in the local
repository, resolution will not be reattempted until the update interval of
nexus has elapsed or updates are forced -> [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.org/confluence/display/MAVEN/DependencyResolutionException

Thanks
Sam

--
View this message in context: http://openejb.979440.n4.nabble.com/Can-t-invoke-web-service-tp3804670p3804937.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message