ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <simonemale...@alice.it>
Subject R: package javax.annotation does not exist
Date Fri, 18 Jul 2008 13:02:04 GMT
Hi San,
   perhaps your problem come from the JVM you're using.
The package javax.annotation is introduced in JSDK 1.5, if you're using an older one the error
make sense.
Verify the JVM version ServiceMix use as Runtime Environment.
I hope to be helpfull,
regads
Simone


-----Messaggio originale-----
Da: sanz [mailto:hanumur@gmail.com]
Inviato: ven 18/07/2008 14.53
A: user@ode.apache.org
Oggetto: package javax.annotation does not exist
 

Hi, 

Am getting the below error when i try to deploy my loan-broker-sa-3.2.1.zip
[from example:Loan-Broker-BPEL] on servicemix version 3.2.1 and ODE 1.2 
-------------------------------------------------------------------------------- 

D:\apache-servicemix-3.2.1\examples\loan-broker-bpel>ant 
Buildfile: build.xml 

init: 
      [get] Getting:
http://repo.mergere.com/maven2/org/logicblaze/lingo/lingo/1
.3/lingo-1.3.jar 
      [get] Not modified - so not downloaded 

compile: 
    [javac] Compiling 3 source files to
D:\apache-servicemix-3.2.1\examples\loan 
-broker-bpel\classes 
    [javac]
D:\apache-servicemix-3.2.1\examples\loan-broker-bpel\loan-broker-bea 
n-su\src\main\java\loanbroker\Bank.java:19: package javax.annotation does
not ex 
ist 
    [javac] import javax.annotation.Resource; 
    [javac]                         ^ 
    [javac]
D:\apache-servicemix-3.2.1\examples\loan-broker-bpel\loan-broker-dro 
ols-su\src\test\java\loanbroker\CreditAgencyTest.java:28: package
org.apache.ser 
vicemix.drools does not exist 
    [javac] import org.apache.servicemix.drools.DroolsComponent; 
    [javac]                                     ^ 
    [javac]
D:\apache-servicemix-3.2.1\examples\loan-broker-bpel\loan-broker-dro 
ols-su\src\test\java\loanbroker\CreditAgencyTest.java:29: package
org.apache.ser 
vicemix.drools does not exist 
    [javac] import org.apache.servicemix.drools.DroolsEndpoint; 
    [javac]                                     ^ 
    [javac]
D:\apache-servicemix-3.2.1\examples\loan-broker-bpel\loan-broker-dro 
ols-su\src\test\java\loanbroker\CreditAgencyTest.java:36: package
junit.framewor 
k does not exist 
    [javac] import junit.framework.TestCase; 
    [javac]                        ^ 
    [javac]
D:\apache-servicemix-3.2.1\examples\loan-broker-bpel\loan-broker-dro 
ols-su\src\test\java\loanbroker\CreditAgencyTest.java:38: cannot find symbol 
    [javac] symbol: class TestCase 
    [javac] public class CreditAgencyTest extends TestCase { 
    [javac]                                       ^ 
    [javac]
D:\apache-servicemix-3.2.1\examples\loan-broker-bpel\loan-broker-dro 
ols-su\src\test\java\loanbroker\CreditAgencyTest.java:41: cannot find symbol 
    [javac] symbol  : class DroolsComponent 
    [javac] location: class loanbroker.CreditAgencyTest 
    [javac]     private DroolsComponent drools; 
    [javac]             ^ 
    [javac]
D:\apache-servicemix-3.2.1\examples\loan-broker-bpel\loan-broker-bea 
n-su\src\main\java\loanbroker\Bank.java:32: cannot find symbol 
    [javac] symbol  : class Resource 
    [javac] location: class loanbroker.Bank 
    [javac]     @Resource 
    [javac]      ^ 
    [javac]
D:\apache-servicemix-3.2.1\examples\loan-broker-bpel\loan-broker-dro 
ols-su\src\test\java\loanbroker\CreditAgencyTest.java:45: cannot find symbol 
    [javac] symbol  : variable super 
    [javac] location: class loanbroker.CreditAgencyTest 
    [javac]         super.setUp(); 
    [javac]         ^ 
    [javac]
D:\apache-servicemix-3.2.1\examples\loan-broker-bpel\loan-broker-dro 
ols-su\src\test\java\loanbroker\CreditAgencyTest.java:57: cannot find symbol 
    [javac] symbol  : class DroolsComponent 
    [javac] location: class loanbroker.CreditAgencyTest 
    [javac]         drools = new DroolsComponent(); 
    [javac]                      ^ 
    [javac]
D:\apache-servicemix-3.2.1\examples\loan-broker-bpel\loan-broker-dro 
ols-su\src\test\java\loanbroker\CreditAgencyTest.java:58: cannot find symbol 
    [javac] symbol  : class DroolsEndpoint 
    [javac] location: class loanbroker.CreditAgencyTest 
    [javac]         DroolsEndpoint endpoint = new
DroolsEndpoint(drools.getServi 
ceUnit(), 
    [javac]         ^ 
    [javac]
D:\apache-servicemix-3.2.1\examples\loan-broker-bpel\loan-broker-dro 
ols-su\src\test\java\loanbroker\CreditAgencyTest.java:58: cannot find symbol 
    [javac] symbol  : class DroolsEndpoint 
    [javac] location: class loanbroker.CreditAgencyTest 
    [javac]         DroolsEndpoint endpoint = new
DroolsEndpoint(drools.getServi 
ceUnit(), 
    [javac]                                       ^ 
    [javac]
D:\apache-servicemix-3.2.1\examples\loan-broker-bpel\loan-broker-dro 
ols-su\src\test\java\loanbroker\CreditAgencyTest.java:61: cannot find symbol 
    [javac] symbol  : class DroolsEndpoint 
    [javac] location: class loanbroker.CreditAgencyTest 
    [javac]         drools.setEndpoints(new DroolsEndpoint[] {endpoint }); 
    [javac]                                 ^ 
    [javac]
D:\apache-servicemix-3.2.1\examples\loan-broker-bpel\loan-broker-dro 
ols-su\src\test\java\loanbroker\CreditAgencyTest.java:72: cannot find symbol 
    [javac] symbol  : method assertEquals(java.lang.String,java.lang.String) 
    [javac] location: class loanbroker.CreditAgencyTest 
    [javac]         assertEquals("getCreditHistoryLengthResponse",
e.getLocalNam 
e()); 
    [javac]         ^ 
    [javac] 13 errors 

BUILD FAILED 
D:\apache-servicemix-3.2.1\examples\loan-broker-bpel\build.xml:50: Compile
faile 
d; see the compiler error output for details. 

Total time: 4 seconds 
========================================================== 

Pls advise. 

Thanks, 
San 

-- 
View this message in context: http://www.nabble.com/package-javax.annotation-does-not-exist-tp18528565p18528565.html
Sent from the Apache Ode User mailing list archive at Nabble.com.



Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message