You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Andreas Bohnert <oj...@weberhofer.at> on 2004/09/06 15:17:17 UTC
Error while building CVS-snapshot
hello all,
I just have tried to compile the snapshot from today with mbean support
and I'm getting this error:
[javac] Compiling 960 source files to
/home/talies/workspace/db-ojb/target/classes/prod
[javac]
/home/talies/workspace/db-ojb/target/src/org/apache/ojb/jboss/PBFactory.java:42:
cannot resolve symbol
[javac] symbol : method instance ()
[javac] location: class
org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory
[javac] return PersistenceBrokerFactoryFactory.instance();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 1 error
The static method instance does not exist.
The error does not appear if you just compile the normal jars!
regards,
andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: Error while building CVS-snapshot
Posted by Armin Waibel <ar...@apache.org>.
Andreas Bohnert wrote:
> I was using the current cvs head, but I will switch to the
> OJB_1_0_RELEASE now.
> (hopefully the mbeans are still in this branch ;)
>
Sorry, I think they aren't (no longer needed for examples). But it
shouldn't be a problem to write similar classes by your own (or get
source from older release).
regards,
Armin
> thanks,
> andreas
>
>
> Armin Waibel wrote:
>
>> Hi Andreas,
>>
>> do you use current CVS head (under development for 1.1) or the
>> OJB_1_0_RELEASE branch?
>>
>> Call 'ant clean' after update to replace source files in 'target'
>> directory.
>>
>> AFAIK I removed the jboss mbean classes some time ago. To make the
>> examples easier to deploy on different appServer, the JNDI lookup was
>> no longer used.
>>
>> regards,
>> Armin
>>
>> Andreas Bohnert wrote:
>>
>>> hello all,
>>>
>>> I just have tried to compile the snapshot from today with mbean
>>> support and I'm getting this error:
>>>
>>> [javac] Compiling 960 source files to
>>> /home/talies/workspace/db-ojb/target/classes/prod
>>> [javac]
>>> /home/talies/workspace/db-ojb/target/src/org/apache/ojb/jboss/PBFactory.java:42:
>>> cannot resolve symbol
>>> [javac] symbol : method instance ()
>>> [javac] location: class
>>> org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory
>>> [javac] return PersistenceBrokerFactoryFactory.instance();
>>> [javac] ^
>>> [javac] Note: Some input files use or override a deprecated API.
>>> [javac] Note: Recompile with -deprecation for details.
>>> [javac] 1 error
>>>
>>> The static method instance does not exist.
>>> The error does not appear if you just compile the normal jars!
>>>
>>> regards,
>>> andreas
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>>> For additional commands, e-mail: ojb-user-help@db.apache.org
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-user-help@db.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: Error while building CVS-snapshot
Posted by Andreas Bohnert <oj...@weberhofer.at>.
I was using the current cvs head, but I will switch to the
OJB_1_0_RELEASE now.
(hopefully the mbeans are still in this branch ;)
thanks,
andreas
Armin Waibel wrote:
> Hi Andreas,
>
> do you use current CVS head (under development for 1.1) or the
> OJB_1_0_RELEASE branch?
>
> Call 'ant clean' after update to replace source files in 'target'
> directory.
>
> AFAIK I removed the jboss mbean classes some time ago. To make the
> examples easier to deploy on different appServer, the JNDI lookup was
> no longer used.
>
> regards,
> Armin
>
> Andreas Bohnert wrote:
>
>> hello all,
>>
>> I just have tried to compile the snapshot from today with mbean
>> support and I'm getting this error:
>>
>> [javac] Compiling 960 source files to
>> /home/talies/workspace/db-ojb/target/classes/prod
>> [javac]
>> /home/talies/workspace/db-ojb/target/src/org/apache/ojb/jboss/PBFactory.java:42:
>> cannot resolve symbol
>> [javac] symbol : method instance ()
>> [javac] location: class
>> org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory
>> [javac] return PersistenceBrokerFactoryFactory.instance();
>> [javac] ^
>> [javac] Note: Some input files use or override a deprecated API.
>> [javac] Note: Recompile with -deprecation for details.
>> [javac] 1 error
>>
>> The static method instance does not exist.
>> The error does not appear if you just compile the normal jars!
>>
>> regards,
>> andreas
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-user-help@db.apache.org
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: Error while building CVS-snapshot
Posted by Armin Waibel <ar...@apache.org>.
Hi Andreas,
do you use current CVS head (under development for 1.1) or the
OJB_1_0_RELEASE branch?
Call 'ant clean' after update to replace source files in 'target' directory.
AFAIK I removed the jboss mbean classes some time ago. To make the
examples easier to deploy on different appServer, the JNDI lookup was no
longer used.
regards,
Armin
Andreas Bohnert wrote:
> hello all,
>
> I just have tried to compile the snapshot from today with mbean support
> and I'm getting this error:
>
> [javac] Compiling 960 source files to
> /home/talies/workspace/db-ojb/target/classes/prod
> [javac]
> /home/talies/workspace/db-ojb/target/src/org/apache/ojb/jboss/PBFactory.java:42:
> cannot resolve symbol
> [javac] symbol : method instance ()
> [javac] location: class
> org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory
> [javac] return PersistenceBrokerFactoryFactory.instance();
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -deprecation for details.
> [javac] 1 error
>
> The static method instance does not exist.
> The error does not appear if you just compile the normal jars!
>
> regards,
> andreas
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org