0
我已經在Mulesoft內部實現並測試了一個簡單的REST示例,該示例在本地服務器上正常工作。CloudHub不受支持major.minor版本51.0
作爲第二步,我想將它部署到CloudHub上,這可以直接從emule ESB studio中實現。
On the CloudHub log I get the following error:
null
org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessException details (1) are:
PropertyAccessException 1:
org.springframework.beans.MethodInvocationException:
Property 'objectClassName' threw
exception;
nested exception is java.lang.UnsupportedClassVersionError: com/rest/test/HelloREST
: **Unsupported major.minor version 51.0**
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1145)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:902)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:57)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1424)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522).
謝謝,我已經解決了。無論如何,你的回答是正確的:) –