Ibm mobilefirst MobileFirst 7.1-手动清理bin目录时出现Bean创建错误

Ibm mobilefirst MobileFirst 7.1-手动清理bin目录时出现Bean创建错误,ibm-mobilefirst,Ibm Mobilefirst,当我从Eclipse清理构建时,我观察到它没有清理war文件。因此,为了确保我有正确的war文件和更新的更改,我手动删除war文件。这样做之后,如果我重新部署应用程序,我就会看到Bean创建的问题。请查看服务器日志 Listening for transport dt_socket at address: 10777 Launching worklight (WebSphere Application Server 8.5.5.5/wlp-1.0.8.cl50520150305-220

当我从Eclipse清理构建时,我观察到它没有清理war文件。因此,为了确保我有正确的war文件和更新的更改,我手动删除war文件。这样做之后,如果我重新部署应用程序,我就会看到Bean创建的问题。请查看服务器日志

     Listening for transport dt_socket at address: 10777
Launching worklight (WebSphere Application Server 8.5.5.5/wlp-1.0.8.cl50520150305-2202) on Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_79-b15 (en_US)
[AUDIT   ] CWWKE0001I: The server worklight has been launched.
[AUDIT   ] CWWKZ0058I: Monitoring dropins for applications. 
[WARNING ] SRVE9967W: The manifest class path javax.annotation-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jsr181-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxws-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path javax.xml.soap-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path FastInfoset.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/serializer-2.7.2.jar or its parent.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://localhost:10080/_MobileBrowserSimulator/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://localhost:10080/IBMJMXConnectorREST/
[AUDIT   ] CWWKZ0001I: Application _MobileBrowserSimulator started in 0.421 seconds.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://localhost:10080/analytics/
[WARNING ] SRVE9967W: The manifest class path xercesImpl.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path serializer.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path hk2-core.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path class-model.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path config.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path auto-depends.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path javax.inject.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path asm-all-repackaged.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path hk2-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path osgi-resource-locator.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path tiger-types.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path bean-validator.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jtype.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb-core-2.2.10-b140802.1033.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxb-core.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb-api-2.2.12-b140109.1041.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxb-core.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path istack-commons-runtime-2.19.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxb-core.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path txw2-2.2.10-b140802.1033.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxb-core.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path mimepull.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path saaj-impl.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path activation.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jsr173_1.0_api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb1-impl.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path stax2-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path woodstox-core-asl.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path javax.annotation-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jsr181-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxws-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path javax.xml.soap-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path FastInfoset.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path hk2-core.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path class-model.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path config.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path auto-depends.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path javax.inject.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path asm-all-repackaged.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path hk2-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path osgi-resource-locator.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path tiger-types.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path bean-validator.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jtype.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/ha-api.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb-core-2.2.10-b140802.1033.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxb-core.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb-api-2.2.12-b140109.1041.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxb-core.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path istack-commons-runtime-2.19.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxb-core.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path txw2-2.2.10-b140802.1033.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxb-core.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path mimepull.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path saaj-impl.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path stax2-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path woodstox-core-asl.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/DHSProject.war!/WEB-INF/lib/jaxws-rt.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path activation.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jsr173_1.0_api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb1-impl.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-service.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path activation.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-service.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jsr173_1.0_api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-service.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb1-impl.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-service.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[AUDIT   ] CWWKZ0001I: Application AnalyticsUI started in 2.580 seconds.
[WARNING ] SRVE9967W: The manifest class path jaxb-api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-service.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path activation.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-service.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jsr173_1.0_api.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-service.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb1-impl.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/worklight-management-service.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://localhost:10080/DHSProject/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://localhost:10080/worklightconsole/
[AUDIT   ] CWWKZ0001I: Application WorklightConsole started in 3.410 seconds.
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/serializer-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xercesImpl.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path serializer.jar can not be found in jar file wsjar:file:MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://localhost:10080/analytics-service/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://localhost:10080/worklightadmin/
[WARNING ] CWNEN0070W: The javax.ws.rs.QueryParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.core.Context annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.CookieParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.PathParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.MatrixParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.HeaderParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] Using empty value for configuration property 'wl.analytics.logs.packages'
[AUDIT   ] CWWKZ0001I: Application DHSProject started in 5.599 seconds.
[AUDIT   ] CWWKZ0001I: Application WorklightServices started in 8.192 seconds.
[AUDIT   ] CWWKZ0001I: Application AnalyticsServices started in 8.437 seconds.
[AUDIT   ] CWWKF0012I: The server installed the following features: [appSecurity-1.0, jdbc-4.0, ldapRegistry-3.0, ssl-1.0, localConnector-1.0, json-1.0, appSecurity-2.0, jsp-2.2, restConnector-1.0, servlet-3.0, jaxrs-1.1, jndi-1.0, distributedMap-1.0].
[AUDIT   ] CWWKF0011I: The server worklight is ready to run a smarter planet.
[WARNING ] Exception encountered during context initialization - cancelling refresh attempt
Error creating bean with name 'taskManager' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Cannot resolve reference to bean 'worklightAuthenticationService' while setting bean property 'authenticationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'worklightAuthenticationService' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Cannot resolve reference to bean 'loginConfigurationServiceBean' while setting bean property 'loginConfigurationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginConfigurationServiceBean' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Class 'gov.ga.dhs.css.mobile.auth.CustomLoginModule' defined in login module 'CustomLoginModule' in the authentication configuration file doesn't exist.
[ERROR   ] FWLST0003E: ========= Failed starting project /DHSProject [project DHSProject]
Error creating bean with name 'taskManager' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Cannot resolve reference to bean 'worklightAuthenticationService' while setting bean property 'authenticationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'worklightAuthenticationService' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Cannot resolve reference to bean 'loginConfigurationServiceBean' while setting bean property 'loginConfigurationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginConfigurationServiceBean' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Class 'gov.ga.dhs.css.mobile.auth.CustomLoginModule' defined in login module 'CustomLoginModule' in the authentication configuration file doesn't exist.
[ERROR   ] Error creating bean with name 'taskManager' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Cannot resolve reference to bean 'worklightAuthenticationService' while setting bean property 'authenticationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'worklightAuthenticationService' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Cannot resolve reference to bean 'loginConfigurationServiceBean' while setting bean property 'loginConfigurationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginConfigurationServiceBean' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Class 'gov.ga.dhs.css.mobile.auth.CustomLoginModule' defined in login module 'CustomLoginModule' in the authentication configuration file doesn't exist.
Error creating bean with name 'taskManager' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Cannot resolve reference to bean 'worklightAuthenticationService' while setting bean property 'authenticationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'worklightAuthenticationService' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Cannot resolve reference to bean 'loginConfigurationServiceBean' while setting bean property 'loginConfigurationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginConfigurationServiceBean' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Class 'gov.ga.dhs.css.mobile.auth.CustomLoginModule' defined in login module 'CustomLoginModule' in the authentication configuration file doesn't exist.
[ERROR   ] DHSProject: worklight///hostname: 2016-02-26T14:45:29.027Z: Error creating bean with name 'taskManager' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Cannot resolve reference to bean 'worklightAuthenticationService' while setting bean property 'authenticationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'worklightAuthenticationService' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Cannot resolve reference to bean 'loginConfigurationServiceBean' while setting bean property 'loginConfigurationService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginConfigurationServiceBean' defined in URL [wsjar:file:MobileFirstServerConfig/shared/resources/worklight-jee-library-7.1.0.jar!/conf/core.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Class 'gov.ga.dhs.css.mobile.auth.CustomLoginModule' defined in login module 'CustomLoginModule' in the authentication configuration file doesn't exist.
[ERROR   ] SRVE0315E: An exception occurred: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: javax.servlet.ServletException: Worklight Console initialization failed.Logged Exception: java.lang.RuntimeException: Class 'gov.ga.dhs.css.mobile.auth.CustomLoginModule' defined in login module 'CustomLoginModule' in the authentication configuration file doesn't exist.
    at com.worklight.core.auth.impl.AuthenticationFilter.verifyServletInitialized(AuthenticationFilter.java:586)
    at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:141)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:206)
    at [internal classes]
    at com.worklight.analytics.AnalyticsFilter.doFilter(AnalyticsFilter.java:124)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:206)
    at [internal classes]
Caused by: javax.servlet.ServletException: Worklight Console initialization failed.Logged Exception: java.lang.RuntimeException: Class 'gov.ga.dhs.css.mobile.auth.CustomLoginModule' defined in login module 'CustomLoginModule' in the authentication configuration file doesn't exist.
    ... 8 more

[ERROR   ] SRVE0315E: An exception occurred: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: javax.servlet.ServletException: Worklight Console initialization failed.Logged Exception: java.lang.RuntimeException: Class 'gov.ga.dhs.css.mobile.auth.CustomLoginModule' defined in login module 'CustomLoginModule' in the authentication configuration file doesn't exist.
    at com.worklight.core.auth.impl.AuthenticationFilter.verifyServletInitialized(AuthenticationFilter.java:586)
    at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:141)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:206)
    at [internal classes]
    at com.worklight.analytics.AnalyticsFilter.doFilter(AnalyticsFilter.java:124)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:206)
    at [internal classes]
Caused by: javax.servlet.ServletException: Worklight Console initialization failed.Logged Exception: java.lang.RuntimeException: Class 'gov.ga.dhs.css.mobile.auth.CustomLoginModule' defined in login module 'CustomLoginModule' in the authentication configuration file doesn't exist.
    ... 8 more

你为什么一开始就试图清理垃圾箱?这是由MobileFirst Studio为您处理的任务。对项目的服务器文件夹进行任何更改后,将重新创建war。请放心,这是最新的(除非你能证明其他)

你为什么要开始清理垃圾箱?这是由MobileFirst Studio为您处理的任务。对项目的服务器文件夹进行任何更改后,将重新创建war。请放心,这是最新的(除非你能证明其他)

我想手动删除不是正确的方法。不管怎样,现在我该如何解决这个问题?我怎样才能使它工作。我删除了MobileFirstServerConfig文件夹,从eclipse中删除了服务器,并重新启动了eclipse,但我仍然看到了这个问题。这是为了通知您,有时eclipse不会更新war。就像在我的场景中,我不得不将我的Java版本从8改为7,从那以后,我尝试了几次clean build,但都不起作用。你的MFP studio版本是什么?我想手动删除不是正确的方法。不管怎样,现在我该如何解决这个问题?我怎样才能使它工作。我删除了MobileFirstServerConfig文件夹,从eclipse中删除了服务器,并重新启动了eclipse,但我仍然看到了这个问题。这是为了通知您,有时eclipse不会更新war。就像在我的场景中,我不得不将我的Java版本从8改为7,从那以后,我尝试了几次clean build,但都没有成功。你的MFP studio版本是什么?