当我们尝试从Oracle Weblogic11g AS迁移到Wildfly-10时,我们在部署到wildfly-10时遇到错误。我们对Eclipse IDE进行了以下更改,以便从项目构建中删除weblogic dependancies:
从插件调用代码时出现问题:" 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)