将数据插入数据库

时间:2016-09-18 16:28:54

标签: mule mule-component anypoint-studio

要求是解析输入xml并将数据插入db。

在数据库插入期间抛出错误

********************************************************************************
Message               : Can't find bundle for base name META-INF.services.org.mule.i18n.db-messages, locale en_US (java.util.MissingResourceException). Message payload is of type: Order
Code                  : MULE_ERROR--2
--------------------------------------------------------------------------------
Exception stack is:
1. Can't find bundle for base name META-INF.services.org.mule.i18n.db-messages, locale en_US (java.util.MissingResourceException)
  java.util.ResourceBundle:1564 (null)
2. Can't find bundle for base name META-INF.services.org.mule.i18n.db-messages, locale en_US (java.util.MissingResourceException). Message payload is of type: Order (org.mule.api.MessagingException)
  org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor:32 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html)
--------------------------------------------------------------------------------
Root Exception stack trace:
java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.i18n.db-messages, locale en_US
        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:1082)
    + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)

你能否告诉我这个问题的根本原因。

流量配置:

HTTP -> xml-tojaxb -> DB insert

Mule Server版本:3.7

0 个答案:

没有答案