Take a look at the examples shipped in servicemix distribution.
Usually, you will want to add a
  <classpath>
    <location>.</location>
 </classpath>
to your xml configuration file.
Then, you need to include the class in the jar and reference it using the
class name and not its location:
  test.TestHello

The maven jbi plugin may help you to package the SU / SA.
Download a recent snapshot distribution and browse the examples
that use maven.


On 8/14/06, bhuvana <[EMAIL PROTECTED]> wrote:


hi

i have developed a lw- jbi component and deployed it.
when i try to run it i get the following exception


Caught: org.springframework.beans.factory.BeanDefinitionStoreException:
Error 'B
ean class [..\examples\test\build\components\test\TestHello.class] not
found' in
resource 'file
[E:\apache-servicemix-3.0-M2-incubating\examples\test\servicemix
.xml]' at:
Bean 'test1'; nested exception is java.lang.ClassNotFoundException:
//\examples\
test\build\components\test\TestHello/class



i think the problem is with placing the class files in the exact path.
can anyone suggest solution to resolve this problem.
--
View this message in context:
http://www.nabble.com/where-to-place-class-files-of-the-jbi-component-tf2101418.html#a5791389
Sent from the ServiceMix - User forum at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to