Hi,
Class NoMessageContentAvailableException is from servicemix-core
module, so you need add it into your pom.xml
Freeman
On 2011-9-15, at 下午4:01, 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
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com