Thanks Stefan,
in your POM, do you have the servicemix-core in the dependencies ?
Regards
JB
On 09/15/2011 10:10 AM, Stefan Essl wrote:
Hi JB,
$ mvn -version
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /usr/share/maven
Java version: 1.6.0_26, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: de_DE, platform encoding: MacRoman
OS name: "mac os x", version: "10.6.8", arch: "x86_64", family: "mac"
Thanks,
Stefan
Am 15.09.2011 um 10:05 schrieb Jean-Baptiste Onofré:
Hi Stefan,
could you provide the output of mvn -version ?
Especially which JDK do you use ?
Regards
JB
On 09/15/2011 10:01 AM, Stefan Essl wrote:
Hi there,
I'm trying to build a service assembly containing a file sender. My goal is to
modify the marshaler of the file sender to my own needs. I started off with the
default file marshaler which went fine. I then copied the code of the default
file marshaler into my own file (MyDefaultFileMarshaler.java) and added the
marshaler statement to the pom.xml of the file sender to use this (still
unmodified) default marshaler.
However if I'm trying to build this project, I get plenty of errors telling me
for example:
[ERROR]path_to_project/soap-file-su/src/main/java/org/apache/servicemix/components/util/MyDefaultFileMarshaler.java:[148,13]
cannot find symbol
[ERROR] symbol : class NoMessageContentAvailableException
[ERROR] location: class
org.apache.servicemix.components.util.MyDefaultFileMarshaler
Since the java file contains "import
org.apache.servicemix.jbi.NoMessageContentAvailableException;", I'm guessing that I
need to include these imports somewhere in the pom.xml for Maven to include it as well.
Nonetheless all the approaches I found and tried didn't bring me any further.
Any help would be appreciated!
Thanks,
Stefan
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com