Hi Java 11 is not supported with this older version of Camel. Try with a newer version of Camel
On Wed, Jul 17, 2019 at 3:56 PM Steve Pan <[email protected]> wrote: > > Hi. > I am trying to migrate a project from Spring 3.0.3 and camel 2.8.3 to > Spring 4.1.5 and camel 2.15.0 > I am trying to run it on Tomcat 9.0.12 and open JDK 11.0.3 > > And in my spring xml, there is a proxy as below > <camel:proxy id="importLogProxy" > serviceInterface="xxx.xxx.xx.ImportLogService" > serviceUrl="vm:importLogService" /> > > > But I get “Cannot auto create component: vm” error? Any idea why vm component > can´t be auto created? > 2019-07-17 14:30:30,225 WARN > [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean > creation exception on FactoryBean type check: > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'importLogProxy': Invocation of init method failed; nested > exception is org.apache.camel.ResolveEndpointFailedException: Failed to > resolve endpoint: vm://importLogService due to: Cannot auto create component: > vm > > I also tried with direct, direct-vm and seda. They seems to work but vm does > not. > > How should I trouble shoot this? > > Best regards > Steve Pan > > -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
