部署到Wildfly-10,Application Server从Weblogic11g迁移到Wildfly-10时出错

时间:2016-09-07 20:05:42

标签: eclipse weblogic11g wildfly-10 server-migration

  

当我们尝试从Oracle Weblogic11g AS迁移到Wildfly-10时,我们在部署到wildfly-10时遇到错误。我们对Eclipse IDE进行了以下更改,以便从项目构建中删除weblogic dependancies:

  1. 我们已从项目\ lib
  2. 中删除了已删除的Oracle Weblogic服务器库
  3. 删除了Project Facet:Oracle Weblogic11g即weblogic.xml
  4. 从目标运行时删除了Weblogic
  5. 添加了Wildfly-10.0.0运行时
  6. 从插件调用代码时出现问题:" oracle.eclipse.tools.common.services"。

    java.lang.IllegalArgumentException: Project facet oracle.adf.web has not been defined.
        at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectFrameworkImpl.getProjectFacet(FacetedProjectFrameworkImpl.java:234)
        at org.eclipse.wst.common.project.facet.core.ProjectFacetsManager.getProjectFacet(ProjectFacetsManager.java:75)
        at oracle.eclipse.tools.webtier.jsf.variable.AnnotatedVariablesDiscoveryParticipant.isDiscoveryCandidate(AnnotatedVariablesDiscoveryParticipant.java:134)
        at oracle.eclipse.tools.webtier.jsf.variable.AnnotatedVariablesDiscoveryParticipant.discover(AnnotatedVariablesDiscoveryParticipant.java:71)
        at oracle.eclipse.tools.common.services.dependency.model.internal.DiscoveryParticipantList$SafeRunnerWithStatus.run(DiscoveryParticipantList.java:161)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at oracle.eclipse.tools.common.services.dependency.model.internal.DiscoveryParticipantList.discover(DiscoveryParticipantList.java:96)
        at oracle.eclipse.tools.common.services.dependency.model.internal.ResourceSetCommand.execute(ResourceSetCommand.java:98)
        at oracle.eclipse.tools.common.services.dependency.model.internal.DependencyModelManager$2.run(DependencyModelManager.java:226)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
        at oracle.eclipse.tools.common.services.dependency.model.internal.DependencyModelManager.refresh(DependencyModelManager.java:232)
        at oracle.eclipse.tools.common.services.dependency.model.internal.ProjectRefreshCommand.execute(ProjectRefreshCommand.java:31)
        at oracle.eclipse.tools.common.services.resources.internal.CommandSetJob$SafeRunnable.run(CommandSetJob.java:261)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at oracle.eclipse.tools.common.services.resources.internal.CommandSetJob.runCommand(CommandSetJob.java:196)
        at oracle.eclipse.tools.common.services.resources.internal.CommandSetJob.run(CommandSetJob.java:99)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    

0 个答案:

没有答案