简体   繁体   English

打开MobileFirst Console会引发错误(Eclipse)

[英]Opening MobileFirst Console throws errors (Eclipse)

I'am using Eclipse JUNO 4.2.2 for JAVA EE Developers with IBM Mobile First 6.3 Developer Edition. 我正在将JAVA EE开发人员的Eclipse JUNO 4.2.2与IBM Mobile First 6.3开发人员版一起使用。

I am also using Java 1.7 and the ADT plug-in in Eclipse. 我也在Eclipse中使用Java 1.7和ADT插件。 My problem is when i try to visualize my App in the MobileFirt Console i have an error that says 我的问题是,当我尝试在MobileFirt Console中可视化我的应用程序时,出现错误提示

Server error. Contact the server administrator.

And i have the following logs in my eclipse console: 而且我在Eclipse控制台中有以下日志:

[ERROR   ] C:\Users\Aokiji\IBM%20Workspace\MobileFirstServerConfig\servers\worklight\workarea\org.eclipse.osgi\bundles\73\data\cache\com.ibm.ws.app.manager_108\.cache\WEB-INF\lib\ibm_web20_wink_no_abdera_no_jackson-1.1.0.0-20110422.jar (The system cannot find the path specified)
C:\Users\Aokiji\IBM%20Workspace\MobileFirstServerConfig\servers\worklight\workarea\org.eclipse.osgi\bundles\73\data\cache\com.ibm.ws.app.manager_108\.cache\WEB-INF\lib\ibm_web20_wink_no_abdera_no_jackson-1.1.0.0-20110422.jar (The system cannot find the path specified)
[ERROR   ] C:\Users\Aokiji\IBM%20Workspace\MobileFirstServerConfig\servers\worklight\workarea\org.eclipse.osgi\bundles\73\data\cache\com.ibm.ws.app.manager_108\.cache\WEB-INF\lib\ibm_web20_wink_no_abdera_no_jackson-1.1.0.0-20110422.jar (The system cannot find the path specified)
C:\Users\Aokiji\IBM%20Workspace\MobileFirstServerConfig\servers\worklight\workarea\org.eclipse.osgi\bundles\73\data\cache\com.ibm.ws.app.manager_108\.cache\WEB-INF\lib\ibm_web20_wink_no_abdera_no_jackson-1.1.0.0-20110422.jar (The system cannot find the path specified)
[ERROR   ] Uncaught.init.exception.thrown.by.servlet 
                                                                                                               ManagementServlet
                                                                                                               WorklightServices
                                                                                                               java.lang.NoClassDefFoundError: Could not initialize class org.apache.wink.common.internal.i18n.Messages
    at org.apache.wink.server.internal.DeploymentConfiguration.initAlternateShortcutMap(DeploymentConfiguration.java:386)
    at org.apache.wink.server.internal.DeploymentConfiguration.init(DeploymentConfiguration.java:167)
    at org.apache.wink.server.internal.servlet.RestServlet.getDeploymentConfiguration(RestServlet.java:202)
    at org.apache.wink.server.internal.servlet.RestServlet.createRequestProcessor(RestServlet.java:138)
    at org.apache.wink.server.internal.servlet.RestServlet.init(RestServlet.java:103)
    at javax.servlet.GenericServlet.init(GenericServlet.java:161)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:325)
    at [internal classes]
    at com.ibm.worklight.admin.services.RestFilter.doFilter(RestFilter.java:61)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)
    at [internal classes]
    at com.ibm.worklight.admin.common.filter.HSTSFilter.doFilter(HSTSFilter.java:110)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)
    at [internal classes]

Whenever there are unexplained Mobilefirst Studio errors, such as yours, it is typically best to: 每当有无法解释的Mobilefirst Studio错误(例如您的错误)时,通常最好:

  1. Create a new workspace 创建一个新的工作区
  2. Import the project 导入项目
  3. Re-build 重建

If it fails still you should install the latest 6.3 plugin. 如果仍然失败,则应安装最新的6.3插件。 You can obtain it from the following location: https://mobilefirstplatform.ibmcloud.com/downloads/#past-releases 您可以从以下位置获取它: https : //mobilefirstplatform.ibmcloud.com/downloads/#past-releases

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM