You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by David Sitsky <si...@nuix.com> on 2008/08/18 06:05:37 UTC

Compilation error - JPAPersistenceAdapter.java:[133,31] cannot find symbol,symbol : constructor MemoryTransactionStore()

I've done a fresh update this morning and a clean compile, and am 
getting the following compilation error.  Any chance of somebody fixing 
this?  Thanks.

[INFO] Compiling 9 source files to 
C:\work\activemq.trunk\activemq\activemq-jpa-
store\target\classes
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Compilation failure
C:\work\activemq.trunk\activemq\activemq-jpa-store\src\main\java\org\apache\acti
vemq\store\jpa\JPAPersistenceAdapter.java:[133,31] cannot find symbol
symbol  : constructor MemoryTransactionStore()
location: class org.apache.activemq.store.memory.MemoryTransactionStore


-- 
Cheers,
David

Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia    Ph: +61 2 9280 0699
Web: http://www.nuix.com                            Fax: +61 2 9212 6902

Re: Compilation error - JPAPersistenceAdapter.java:[133,31] cannot find symbol,symbol : constructor MemoryTransactionStore()

Posted by Rob Davies <ra...@gmail.com>.
Thanks David - this is now fixed

cheers,

Rob

Rob Davies
http://rajdavies.blogspot.com/

On 18 Aug 2008, at 05:28, David Sitsky wrote:

> I've attached a patch which gets the system compiling again.  I'm  
> not sure if this is the right fix however.
>
> David Sitsky wrote:
>> I've done a fresh update this morning and a clean compile, and am  
>> getting the following compilation error.  Any chance of somebody  
>> fixing this?  Thanks.
>> [INFO] Compiling 9 source files to C:\work\activemq.trunk\activemq 
>> \activemq-jpa-
>> store\target\classes
>> [INFO]  
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]  
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>> C:\work\activemq.trunk\activemq\activemq-jpa-store\src\main\java\org 
>> \apache\acti vemq\store\jpa\JPAPersistenceAdapter.java:[133,31]  
>> cannot find symbol
>> symbol  : constructor MemoryTransactionStore()
>> location: class  
>> org.apache.activemq.store.memory.MemoryTransactionStore
>
>
> -- 
> Cheers,
> David
>
> Nuix Pty Ltd
> Suite 79, 89 Jones St, Ultimo NSW 2007, Australia    Ph: +61 2 9280  
> 0699
> Web: http://www.nuix.com                            Fax: +61 2 9212  
> 6902
> Index: activemq-jpa-store/src/main/java/org/apache/activemq/store/ 
> jpa/JPAPersistenceAdapter.java
> ===================================================================
> --- activemq-jpa-store/src/main/java/org/apache/activemq/store/jpa/ 
> JPAPersistenceAdapter.java	(revision 686667)
> +++ activemq-jpa-store/src/main/java/org/apache/activemq/store/jpa/ 
> JPAPersistenceAdapter.java	(working copy)
> @@ -130,7 +130,7 @@
>
>     public TransactionStore createTransactionStore() throws  
> IOException {
>         if (transactionStore == null) {
> -            transactionStore = new MemoryTransactionStore();
> +            transactionStore = new MemoryTransactionStore(this);
>         }
>         return this.transactionStore;
>     }








Re: Compilation error - JPAPersistenceAdapter.java:[133,31] cannot find symbol,symbol : constructor MemoryTransactionStore()

Posted by David Sitsky <si...@nuix.com>.
I've attached a patch which gets the system compiling again.  I'm not 
sure if this is the right fix however.

David Sitsky wrote:
> I've done a fresh update this morning and a clean compile, and am 
> getting the following compilation error.  Any chance of somebody fixing 
> this?  Thanks.
> 
> [INFO] Compiling 9 source files to 
> C:\work\activemq.trunk\activemq\activemq-jpa-
> store\target\classes
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> C:\work\activemq.trunk\activemq\activemq-jpa-store\src\main\java\org\apache\acti 
> 
> vemq\store\jpa\JPAPersistenceAdapter.java:[133,31] cannot find symbol
> symbol  : constructor MemoryTransactionStore()
> location: class org.apache.activemq.store.memory.MemoryTransactionStore
> 
> 


-- 
Cheers,
David

Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia    Ph: +61 2 9280 0699
Web: http://www.nuix.com                            Fax: +61 2 9212 6902