ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matth...@offthelip.org>
Subject Re: package javax.annotation does not exist
Date Fri, 18 Jul 2008 14:13:48 GMT
This looks like a problem with the script not setting your classpath
correctly (which is probably due to your environment) but I'm not familiar
with ServiceMix scripts to be really helpful. Why don't you ask on the
ServiceMix list instead?

Thanks,
Matthieu

On Fri, Jul 18, 2008 at 5:53 AM, sanz <hanumur@gmail.com> wrote:

>
> 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/alternative (inline, None, 0 bytes)
View raw message