What do you means?

Have you mounted all jar files?

-- Jeanfrancois

Eriam Schaffter wrote:

Thanks for your answer ..

In fact i've downloaded jta but I cannot set Netbeans to update auto completion as NetBeans just tells me that the package has already been parsed ..

I'm just a bit confused ..

:)

Eriam

Jeanfrancois Arcand a écrit:

You have to download the transaction API from java.sun.com:

http://java.sun.com/products/jta/

All these dependecy are described in jakarta-tomcat-{version}/BUILDING.txt. I'm currently using Netbean 3.4 and it works fine if you mount all jars that are under ${CATALINA_HOME}/common & ${CATALINA_HOME}/server.

Good luck :-)

-- Jeanfrancois



Eriam Schaffter wrote:

Hi there ..

I'm trying to compile tomcat with NetBeans and it seems thats the transaction api to which refers tomcat is depreciated ..

The error log is below:

catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java [75:1] cannot resolve symbol
symbol : class UserTransaction location: package transaction
import javax.transaction.UserTransaction;
^
catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java [126:1] incompatible types
found : javax.transaction.UserTransaction
required: java.lang.Object
return getTransactionDomain().getUserTransaction();


I'm had a look at the monted jars I'm using but I didn't found any references to javax.transaction, I suppose that this class is a part of the java sdk because when I try to mount the jta package I've downloaded from java.sun.com I get an error message explaining that the class is already present in the ide ..

Any tips welcome .. :)

Eriam


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

-------------
Ce courrier a ete considere comme non infecte par les virus connu de notre outil de detection. Soyez cependant prudent avec les pieces jointes. Merci.




--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to