ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hope BT" <hop...@gmail.com>
Subject A compile problem for servicegen task
Date Thu, 03 Jul 2008 06:05:40 GMT
Hello Everybody,

When i'm compiling my build.xml file an error is raised. My project is using
weblogic 10 jar libraries and  webservices.jar contains servicegen task.

Do you have any idea?

Thanks in advance.

[*servicegen*] *weblogic.xml.schema.binding.BindingException*: No default
constructor was found for class java.sql.Timestamp loaded from
file:/C:/Program%20Files/Java/jdk1.5.0_15/jre/lib/rt.jar!/java/sql/Timestamp.class.
All classes that will be serialized or deserialized must be non-interface,
non-abstract classes that provide a public default constructor

[*servicegen*] at
weblogic.xml.schema.binding.internal.codegen.JavaInspector.ensureValidClass(
*JavaInspector.java:1116*)

[*servicegen*] at
weblogic.xml.schema.binding.internal.codegen.JavaInspector.fillDescriptor(*
JavaInspector.java:186*)

[*servicegen*] at
weblogic.xml.schema.binding.internal.codegen.JavaInspector.getDescriptor(*
JavaInspector.java:151*)

[*servicegen*] at
weblogic.xml.schema.binding.internal.codegen.JavaInspector.createBeanProperty(
*JavaInspector.java:978*)

[*servicegen*] at
weblogic.xml.schema.binding.internal.codegen.JavaInspector.createBeanProperty(
*JavaInspector.java:956*)

[*servicegen*] at
weblogic.xml.schema.binding.internal.codegen.JavaInspector.addPropertiesToScalar(
*JavaInspector.java:885*)

[*servicegen*]

......
*

weblogic.xml.schema.binding.BindingException*: No default *constructor* was
found for class java.sql.Timestamp loaded from
file:/C:/Program%20Files/Java/jdk1.5.0_15/jre/lib/rt.jar!/java/sql/Timestamp.class.

 All classes that will be serialized or deserialized must be non-interface,
non-abstract classes that provide a public default constructor

**

**

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message