Skip to main content

After I copied the java classes into the project and added the Return Class on the JSON to Object transformer, the app won't deploy.

 

Here is the error:

 

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getFlightsFlow': Cannot create inner

bean '(inner bean)# 76aa5058' of type [org.mule.module.json.transformers.JsonToObject] while setting bean property 'messagePro

cessors' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with

name '(inner bean)# 76aa5058': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchExcept

ion: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class' for property 'returnClass

'; nested exception is java.lang.IllegalArgumentException: Error loading class [com.mulesoft.training.FlightRequest]: problem

with class file or dependent class.

 

JSON to Object fails to deploy (JSON Transformers)

 

My JDK is 1.7

mulesoft-training-week4-03.jpg

 

What more can I do or look at to get my project to deploy?

 

9 answers
0/9000