Closed AJESH-CR closed 3 years ago
Hi AJESH-CR,
thanks for using the contraect-maven-plugin :)
The issue you face is due to an issue with your maven config: can you please delete the
<config></config>
within the configuration-tag and try again
Regards,
Mitch
Thanks for the support Mitch, Applied the fix, now I faced another issue
SEVERE: Unhandled exception
io.vertx.core.json.DecodeException: Failed to decode:Unrecognized field "external_encoded_aci" (class com.kryptokrauts.sophia.compiler.generated.model.ACI), not marked as ignorable (2 known properties: "interface", "encoded_aci"])
at [Source: (io.netty.buffer.ByteBufInputStream); line: 1, column: 403] (through reference chain: com.kryptokrauts.sophia.compiler.generated.model.ACI["external_encoded_aci"])
at io.vertx.core.json.Json.decodeValue(Json.java:156)
at com.kryptokrauts.sophia.compiler.generated.ApiClient.lambda$buildResponseHandler$7(ApiClient.java:553)
at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:286)
at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:273)
Thanks again Mitch.
Hi @AJESH-CR, sorry for the circumstances. This is a problem with the configuration of our SDK and will be fixed in upcoming versions. You are probably running or using the http compiler which has an updated endpoint that returns more attributes than expected.
You have two options in my opinion:
Again, sorry! We are currently working on the 3.0.0 release which will fix this and also introduce some other breaking changes as well as support for new features that are coming with the Iris hardfork. (e.g. PayingForTx
).
Thanks, marc0olo.
I got this issue while I run the HTTP compiler locally via docker using the below image
REPOSITORY TAG IMAGE ID CREATED SIZE
aeternity/aesophia_http latest bb0dc6751804 9 months ago 180MB
And configured the URL http://localhost:3080
in the compilerBaseUrl
element.
Edit 1
Thanks marc0olo & Mitch
glad you got it solved! :-)
stay tuned for upcoming updates. there will be some breaking changes and you shouldn't face this problem anymore by default
Description
While running
mvn contraect:generate-contraects
encountered with an errorpom.xml
Failure logs
Context
Ref