Community commons

0
Adter inlcuding the commons lib: Compile: [javac] Compiling 171 source files to /srv/cloud/slots/tr10000/deploy/data/tmp/1539459198433-0/src/deployment/run/bin [javac] /srv/cloud/slots/tr10000/deploy/data/tmp/1539459198433-0/src/javasource/ompile: [javac] Compiling 171 source files to /srv/cloud/slots/tr10000/deploy/data/tmp/1539459198433-0/src/deployment/run/bin [javac] /srv/cloud/slots/tr10000/deploy/data/tmp/1539459198433-0/src/javasource/communitycommons/Misc.java:661: error: unreported exception COSVisitorException; must be caught or declared to be thrown [javac] overlay.overlay(new HashMap<>()).save(baos); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 error BUILD FAILED /srv/cloud/slots/tr10000/deploy/data/tmp/1539459198433-0/src/deployment/build_core.xml:30: Compile failed; see the compiler error output for details. Total time: 1 second/Misc.java:661: error: unreported exception COSVisitorException; must be caught or declared to be thrown [javac] overlay.overlay(new HashMap<>()).save(baos); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 error BUILD FAILED /srv/cloud/slots/tr10000/deploy/data/tmp/1539459198433-0/src/deployment/build_core.xml:30: Compile failed; see the compiler error output for details. Total time: 1 second BUILD FAILED Invalid type Mendix.Modeler.UIFramework.WebView.HtmlControl for instance field Mendix.Modeler.UIFramework.WebView.WebViewSpec:htmlControl Invalid type Mendix.Modeler.UIFramework.WebView.WebViewSpec for instance field Mendix.Modeler.UIFramework.WebView.WebViewSpec+<>c__DisplayClass26_0:<>4__this    
asked
1 answers
2

Hi Arthur,

You most likely have some old jars which aren't removed. More info in this topic as well:

https://forum.mendix.com/link/questions/86046

If deleting the suggested libraries isn't working you could try the short term fix and deploy it in eclipse and right click on the funtion for a quick fix by adding the throw suggested as a fix by Eclipse.

Kind Regards,

answered