Hi all,
I have some trouble with xalan.
In my m project.xml, I have the dependency :
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.6.0</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
In my java code :
private void addToXmlResponse(final
org.apache.xalan.extensions.XSLProcessorContext context,
final String xml) {
try {
final org.apache.xml.serializer.SerializationHandler handler
=
(org.apache.xml.serializer.SerializationHandler)
context.getTransformer().getSerializationHandler();
and so on ...
The java:compile goals says :
java:compile:
[echo] Compiling to C:\projets\OTAReceiver/target/classes
[javac] Compiling 67 source files to
C:\projets\OTAReceiver\target\classes
[javac]
C:\projets\OTAReceiver\src\java\com\accor\connectors\util\CallTC.java:
343: cannot resolve symbol
[javac] symbol : method getSerializationHandler ()
[javac] location: class org.apache.xalan.transformer.TransformerImpl
[javac]
(org.apache.xml.serializer.SerializationHandler) conte
xt.getTransformer().getSerializationHandler();
[javac]
^
[javac] 1 error
Which xalan is used in order to compile my project ??
The jdk one or the one defined in my project ??
Certainly the first but why ??
How can i solve this problem whitout adding some jars in the endorseds
dirs ??
Thanks,
Olivier
This e-mail, any attachments and the information contained therein ("this message")
are confidential and intended solely for the use of the addressee(s). If you have
received this message in error please send it back to the sender and delete it.
Unauthorized publication, use, dissemination or disclosure of this message, either in
whole or in part is strictly prohibited.
**********************************************************************
Ce message ?lectronique et tous les fichiers joints ainsi que les informations
contenues dans ce message ( ci apr?s "le message" ), sont confidentiels et destin?s
exclusivement ? l'usage de la personne ? laquelle ils sont adress?s. Si vous avez
re?u ce message par erreur, merci de le renvoyer ? son ?metteur et de le d?truire.
Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme
que se soit non express?ment autoris?es de ce message, sont interdites.
**********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]