jQuery in Action, 2nd edition*
The moose likes Web Services and the fly likes inconvertible types found : java.lang.Throwable when I generate stubs. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "inconvertible types found : java.lang.Throwable when I generate stubs." Watch "inconvertible types found : java.lang.Throwable when I generate stubs." New topic
Author

inconvertible types found : java.lang.Throwable when I generate stubs.

Ajoo Bar
Ranch Hand

Joined: Mar 28, 2011
Posts: 30
Hi,

I am getting this error when I try to generate stubs using maven plugin. It worked fine earlier on my other computer. Can someone help me on this please.

Thanks
Ajoo

C:\Product\CCM\UER\CCM_Exits_mycompanyHealth_Local\target\generated-sources\main\
java\com\mycompany\ws\CahContractService\_2012_01_03\cahcontractservice_V1\CahCon
tractServiceSOAPBinding_V1_0Stub.java:[430,30] inconvertible types
found : java.lang.Throwable
required: com.mycompany.ws.Common._2010_11_19.exceptionbasetype_V1.BusinessExcept
ionType

C:\Product\CCM\UER\CCM_Exits_mycompanyHealth_Local\target\generated-sources\main\
java\com\mycompany\ws\CahContractService\_2012_01_03\cahcontractservice_V1\CahCon
tractServiceSOAPBinding_V1_0Stub.java:[431,118] inconvertible types
found : java.lang.Throwable
required: com.mycompany.ws.Common._2010_11_19.exceptionbasetype_V1.BusinessExcept
ionType


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:579)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:499)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecy
cle(DefaultLifecycleExecutor.java:924)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(Def
aultLifecycleExecutor.java:762)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:529)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:512)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:482)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:227)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation fail
ure
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:516)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:451)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:558)
... 20 more
[INFO] ----------------------------------------
 
wood burning stoves
 
subject: inconvertible types found : java.lang.Throwable when I generate stubs.
 
Similar Threads
maven build error which is strange
Possible cause for org.apache.maven.lifecycle.LifecycleExecutionException
Jet Speed
maven: How t include third party library to existing maven project
Maven exception