This is what you should do if you are trying to deploy SOA code using ANT and facing the below issue:
[wldeploy] java.lang.NoSuchMethodError: org/apache/xerces/impl/xpath/regex/RegularExpression.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/util/Locale;)V
[wldeploy] at org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl.applyFacets(Unknown Source)
[wldeploy] at org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl.applyFacets1(Unknown Source)
[wldeploy] at org.apache.xerces.impl.dv.xs.BaseSchemaDVFactory.createBuiltInTypes(Unknown Source)
[wldeploy] at org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl.createBuiltInTypes(Unknown Source)
[wldeploy] at org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl.<clinit>(Unknown Source)
Solution-
Check your ANT jars are imported correctly and the ANT_HOME is set and retry.
Helpful? Please comment.
Happy Learning!!
how to check the imported jars
ReplyDelete