Hi,
Is it a warning or an error?
Class name collision can occur relatively easy when importing lot's of packages. What about using
full package names and perhaps *not* including the org.hibernate.Session (and only reference it
using the full package name?)
HTH,
Geert
Philippe Guillard wrote:
Hi all,
I use Hibernate in cocoon configured as in CocoonAndHibernateTutorial.
In XSP i discoverd i can't use Session Logicsheet +
org.hibernate.Session, cause class names collision!.
Doing :
<xsp:page language="java" xmlns:xsp="http://apache.org/xsp"
xmlns:xsp-session="http://apache.org/xsp/session/2.0">
<xsp:structure>
<xsp:include>org.hibernate.Session</xsp:include>
</xsp:structure>
<page>
Will give me "The import org.hibernate.Session collides with another
imported type"
Ok i could use session transformer later in the pipeline but this is
embarassing me, cause i use this a lot already.
Is there a way in XSP to avoid 2 types not to collide?
Regards,
Phil
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
=====================================
NB: het Daidalos kantoor is sinds 22 april
jl. gevestigd op een nieuw adres:
Daidalos BV
Hoekeindsehof 1 - 4
2665 JZ Bleiswijk
tel: +31 (0)10 850 12 00
fax: +31 (0)10 850 11 99
Bovenstaand adres is tevens het postadres.
======================
[EMAIL PROTECTED]
IT-consultant at Daidalos BV
http://www.daidalos.nl/
GPG: 1024D/12DEBB50
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]