jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi goel <Ruchi.G...@Sun.COM>
Subject Re: error compiling jcr-mapping in Jackrabbit source tree
Date Thu, 31 May 2007 13:04:21 GMT
Christophe Lombart wrote:
> Hi Ruchi,
>
> Sorry for the delay. It was a long wk here. I don't understand your 
> compile
> issue. It is not necessary to download manually the JTA jar. It is a
> Jackrabbit dependency. Do you have in your m2 repo the following folder :
> repository/org/apache/geronimo/specs/geronimo-jta_1.0.1B_spec/1.0.1 ?
Yes, I have this.
>
> Did you run "mvn install" from the Jackrabbit home folder ?
I first tried mvn install from Jackrabbit home folder but it did not 
create targets for jcr-mapping.
Then I tried building jcr-maping layer separately.

regards,
Ruchi
>
> br,
> Christophe
>
> On 5/25/07, ruchi goel <Ruchi.Goel@sun.com> wrote:
>>
>> Hi,
>>    Please find attached the error file  which I get when I try to
>> compile jcr-mapping. Basically, it cannot load jta1.0.1.jar. I tried
>> installing it via
>> mvn install :install-file -DgroupId=geronimo-spec
>> -DartifactId=geronimo-spec-jta -Dversion=1.0.1  -Dpackaging=jar
>> -Dfile=f:\poc\cms\graffitojars\jta1.0.1.jar
>>
>> It says install successful.
>>
>>
>> But then , when I try mvn install for jcr-mapping , it fails .
>>
>> Help appreciated.
>>
>> Thanks,
>> Ruchi
>>
>> [INFO] Scanning for projects...
>> [INFO]
>> ---------------------------------------------------------------------------- 
>>
>> [INFO] Building Jackrabbit Object Content Maping
>> [INFO]    task-segment: [install]
>> [INFO]
>> ---------------------------------------------------------------------------- 
>>
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [compiler:compile]
>> Compiling 92 source files to
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\target\classes 
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[22,25]

>>
>> cannot find symbol
>> symbol  : class UserTransaction
>> location: package javax.transaction
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[23,25]

>>
>> cannot find symbol
>> symbol  : class Status
>> location: package javax.transaction
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[24,25]

>>
>> cannot find symbol
>> symbol  : class NotSupportedException
>> location: package javax.transaction
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[25,25]

>>
>> cannot find symbol
>> symbol  : class SystemException
>> location: package javax.transaction
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[26,25]

>>
>> cannot find symbol
>> symbol  : class HeuristicMixedException
>> location: package javax.transaction
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[27,25]

>>
>> cannot find symbol
>> symbol  : class HeuristicRollbackException
>> location: package javax.transaction
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[28,25]

>>
>> cannot find symbol
>> symbol  : class RollbackException
>> location: package javax.transaction
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[36,44]

>>
>> cannot find symbol
>> symbol: class UserTransaction
>> public class UserTransactionImpl implements UserTransaction {
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[75,31]

>>
>> cannot find symbol
>> symbol  : class NotSupportedException
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[75,54]

>>
>> cannot find symbol
>> symbol  : class SystemException
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[95,32]

>>
>> cannot find symbol
>> symbol  : class HeuristicMixedException
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[96,12]

>>
>> cannot find symbol
>> symbol  : class HeuristicRollbackException
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[97,12]

>>
>> cannot find symbol
>> symbol  : class RollbackException
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[97,50]

>>
>> cannot find symbol
>> symbol  : class SystemException
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[129,34]

>>
>> cannot find symbol
>> symbol  : class SystemException
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[137,12]

>>
>> cannot find symbol
>> symbol  : class SystemException
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[162,64]

>>
>> cannot find symbol
>> symbol  : class SystemException
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[172,58]

>>
>> cannot find symbol
>> symbol  : class SystemException
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[56,25]

>>
>> cannot find symbol
>> symbol  : variable Status
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[76,22]

>>
>> cannot find symbol
>> symbol  : variable Status
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[83,21]

>>
>> cannot find symbol
>> symbol  : variable Status
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[87,22]

>>
>> cannot find symbol
>> symbol  : class SystemException
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[99,22]

>>
>> cannot find symbol
>> symbol  : variable Status
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[106,21]

>>
>> cannot find symbol
>> symbol  : variable Status
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[108,21]

>>
>> cannot find symbol
>> symbol  : variable Status
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[110,21]

>>
>> cannot find symbol
>> symbol  : variable Status
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[112,21]

>>
>> cannot find symbol
>> symbol  : variable Status
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[118,26]

>>
>> cannot find symbol
>> symbol  : class RollbackException
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[120,26]

>>
>> cannot find symbol
>> symbol  : class SystemException
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[139,22]

>>
>> cannot find symbol
>> symbol  : variable Status
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[140,26]

>>
>> cannot find symbol
>> symbol  : variable Status
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[148,21]

>>
>> cannot find symbol
>> symbol  : variable Status
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[150,21]

>>
>> cannot find symbol
>> symbol  : variable Status
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[154,22]

>>
>> cannot find symbol
>> symbol  : class SystemException
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[163,22]

>>
>> cannot find symbol
>> symbol  : variable Status
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>> E:\cms\JackrabbitNew\contrib\jackrabbit-jcr-mapping\jcr-mapping\src\main\java\org\apache\jackrabbit\ocm\transaction\jackrabbit\UserTransactionImpl.java:[166,17]

>>
>> cannot find symbol
>> symbol  : variable Status
>> location: class
>> org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 3 seconds
>> [INFO] Finished at: Fri May 25 07:50:59 IST 2007
>> [INFO] Final Memory: 4M/12M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>


Mime
View raw message