IBM Watson Connector Suite Sample Wont Built

0
Created a new app based on the Watson Connector Suite Ran on cloud ... build failed:     Executing step 'Build deployment structure' * Writing files... * Compiling Java... ERROR: An error occurred while compiling Java actions Buildfile: /srv/cloud/slots/tr10000/deploy/data/tmp/1487851342622-0/src/deployment/build_core.xml compile: [javac] Compiling 92 source files to /srv/cloud/slots/tr10000/deploy/data/tmp/1487851342622-0/src/deployment/run/bin [javac] /srv/cloud/slots/tr10000/deploy/data/tmp/1487851342622-0/src/javasource/appcloudservices/OpenIDHandler.java:350: error: cannot find symbol [javac] resp.addCookie(RequestHandler.XAS_SESSION_ID, "", "/", "", 0, true); [javac] ^ [javac] symbol: variable XAS_SESSION_ID [javac] location: class RequestHandler [javac] /srv/cloud/slots/tr10000/deploy/data/tmp/1487851342622-0/src/javasource/appcloudservices/SessionInitializer.java:46: error: cannot find symbol [javac] String sessionid = req.getCookie(RequestHandler.XAS_SESSION_ID); [javac] ^ [javac] symbol: variable XAS_SESSION_ID [javac] location: class RequestHandler [javac] /srv/cloud/slots/tr10000/deploy/data/tmp/1487851342622-0/src/javasource/appcloudservices/SessionInitializer.java:64: error: cannot find symbol [javac] resp.addCookie(RequestHandler.XAS_SESSION_ID, session.getId().toString(),"/" ,"" ,-1, true ); [javac] ^ [javac] symbol: variable XAS_SESSION_ID [javac] location: class RequestHandler [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 3 errors BUILD FAILED /srv/cloud/slots/tr10000/deploy/data/tmp/1487851342622-0/src/deployment/build_core.xml:25: Compile failed; see the compiler error output for details. Total time: 4 seconds BUILD FAILED      
asked
2 answers
1

Hi Andy,

 

Thanks for your feedback. Regarding the issue, it seems that you have opened IBM Watson Connector Suite Sample with the Modeler version 7. For now, the Watson example needs a few easy manual steps to converte it to Mendix 7 (the project was built in Mendix 6). The conversion consists of the following steps:

 

  • Set the Layout Type to 'Response' in the Sideba_Full_Responsive Layout (NavigationLayouts module)
  • Upgrade the App Cloud Service module from App Store: https://appstore.home.mendix.com/link/app/934/Mendix/AppCloudServices
  • The onFirstLoginAppCloudUSer microflow has changed of location. Update its location in InvokeOnFirstLoginAppCloudUser.

 

Next week, we are going to publish a new version of IBM Watson Connector Suite converted to Mendix 7 in AppStore. 

I hope this information is helpful. Please let us know if you have further questions.

 

Regards,

Carlos.

 

answered
0

Looks like the appcloudservices module needs to be updated (refers to removed RequestHandler.XAS_SESSION_ID).  Did you download it from the appstore or did the newly created project come with it? Try downloading it again from the appstore.

answered