mendix / RestServices

REST service module for Mendix. Supports consuming and publishing REST based services and real-time data synchronization. Supports JSON, form-encoded, multipart and binary data transport.
Apache License 2.0
31 stars 46 forks source link

Java compile errors in Mx5.21.1 and Rest V1.5 #71

Closed RCatersels closed 8 years ago

RCatersels commented 8 years ago

I am upgrading a project from 5.16.1 to 5.21.1 and experience java compile errors. The the error is below. Any suggestion on how to fix this?

Regards,

Ronald

Buildfile: C:\Users\Ronald\Documents\Mendix\HU - RGW-main\deployment\build_core.xml

compile: [javac] Compiling 1213 source files to C:\Users\Ronald\Documents\Mendix\HU - RGW-main\deployment\run\bin [javac] C:\Users\Ronald\Documents\Mendix\HU - RGW-main\javasource\restservices\publish\RestServiceHandler.java:251: warning: '' used as an identifier [javac] String ) { [javac] ^ [javac](use of '_' as an identifier might not be supported in releases after Java SE 8) [javac] C:\Users\Ronald\Documents\Mendix\HU - RGW-main\javasource\saml20\implementation\security\SessionManager.java:184: error: cannot find symbol [javac] response.addHeader(RequestHandler.CSRF_TOKEN_HEADER, (String) session.getData().get(Session.CSRF_TOKEN_KEY)); [javac] ^ [javac] symbol: variable CSRF_TOKEN_KEY [javac] location: class Session [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error [javac] 1 warning

RCatersels commented 8 years ago

Never mind, I must have had my eyes still closed. It's the LDAP that is giving problems.

mweststrate commented 8 years ago

:)

On Wed, Jan 6, 2016 at 8:34 AM, Ronald Catersels notifications@github.com wrote:

Never mind, I must have had my eyes still closed. It's the LDAP that is giving problems.

— Reply to this email directly or view it on GitHub https://github.com/mendix/RestServices/issues/71#issuecomment-169258344.