weblogic.utils.compiler.ToolFailureException: Unable to find a suitable factory among registered factories [ws_gen_rest]

Hot problem!
This exception has a lot of traffic. You can help 14 users by writing a short tip.

Solutions on the web2

Solution icon of oraclecommunity
Unable to find a suitable factory among registered factories [ws_gen_rest]

Solution icon of googlegroups
via Google Groups by George, 9 months ago
unable to load type library from classloader java.net.URLClassLoader@1d8957f

Stack trace

weblogic.utils.compiler.ToolFailureException: Unable to find a suitable factory among registered factories
 [ws_gen_rest]
	at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:310)[exec]
	at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:261)[exec]
	at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:164)[exec]
	at oracle.ocsg.ant.rest.CallbackEjbGenTask.execute(CallbackEjbGenTask.java:251)[exec]
	at oracle.ocsg.ant.rest.WsGenTask.createCallbackEJB(WsGenTask.java:1283)[exec]
	at oracle.ocsg.ant.rest.WsGenTask.execute(WsGenTask.java:279)[exec]
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)[exec]
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)[exec]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[exec]
	at java.lang.reflect.Method.invoke(Method.java:483)[exec]
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)[exec]
	at org.apache.tools.ant.Task.perform(Task.java:348)[exec]
	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)[exec]
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)[exec]
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)[exec]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[exec]
	at java.lang.reflect.Method.invoke(Method.java:483)[exec]
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)[exec]
	at org.apache.tools.ant.Task.perform(Task.java:348)[exec]
	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)[exec]
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)[exec]
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)[exec]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[exec]
	at java.lang.reflect.Method.invoke(Method.java:483)[exec]
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)[exec]
	at org.apache.tools.ant.Task.perform(Task.java:348)[exec]
	at org.apache.tools.ant.Target.execute(Target.java:435)[exec]
	at org.apache.tools.ant.Target.performTasks(Target.java:456)[exec]
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)[exec]
	at org.apache.tools.ant.Project.executeTarget(Project.java:1364)[exec]
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)[exec]
	at org.apache.tools.ant.Project.executeTargets(Project.java:1248)[exec]
	at org.apache.tools.ant.Main.runBuild(Main.java:851)[exec]
	at org.apache.tools.ant.Main.startAnt(Main.java:235)[exec]
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)[exec]
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)[ws_gen_rest]
Caused by: weblogic.utils.compiler.ToolFailureException: Unable to find a suitable factory among registered factories
 [ws_gen_rest]
	at weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:54)[exec]
	at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:38)[exec]
	at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:27)[exec]
	at weblogic.application.compiler.Appc.runBody(Appc.java:203)[exec]
	at weblogic.utils.compiler.Tool.run(Tool.java:158)[exec]
	at weblogic.utils.compiler.Tool.run(Tool.java:115)[exec]
	at weblogic.application.compiler.Appc.main(Appc.java:263)[exec]
	at weblogic.appc.main(appc.java:14)[exec]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[exec]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[exec]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[exec]
	at java.lang.reflect.Method.invoke(Method.java:483)[exec]
	at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:301)[ws_gen_rest]
	... 35 more
Caused by: weblogic.application.compiler.NoClaimsFactoryException: Unable to find a suitable factory among registered factories
 [ws_gen_rest]
	at weblogic.application.compiler.FactoryManager.create(FactoryManager.java:110)[exec]
	at weblogic.application.compiler.ToolsFactoryManager.createStandaloneModule(ToolsFactoryManager.java:118)[exec]
	at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:40)[exec]
	at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70)[exec]
	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)[exec]
	at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)[exec]
	at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:27)[exec]
	at weblogic.application.compiler.BaseCompiler.compile(BaseCompiler.java:19)[exec]
	at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:101)[exec]
	at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:35)[exec]
	at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70)[exec]
	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)[exec]
	at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)[exec]
	... 46 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
1 more bugmates