Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

JSPs not supported. #276

Open
VasilMitovClouway opened this issue Feb 21, 2017 · 3 comments
Open

JSPs not supported. #276

VasilMitovClouway opened this issue Feb 21, 2017 · 3 comments

Comments

@VasilMitovClouway
Copy link

I am not sure that this is a bug, or it is supposed to act this way and I'm just missing something. I was following the tutorial and tried to upload a single JSP file with gradle appengineUpdate and although all of the settings for JDK and source code target are set to be to 7/1.7, JSPs are not translated (i'm not sure im using the correct term) properly and throw java.lang.IllegalArgumentException: Class file is Java 8 but max supported is Java 7.

screenshot from 2017-02-21 09-57-27

Project works fine and deploys without a problem when the JSPs are removed and Servlets are used.

@loosebazooka
Copy link
Contributor

The JDK is set to Java7? The jsp compiler is loaded by the underlying tooling, if you use a different Java version (java sdk 8) and set the target version (java 7), I'm not sure what the behavior for jsp compilation, but maybe it's just using java8.

@VasilMitovClouway
Copy link
Author

Nah, I particularly changed the sdk from 8 to 7, I even changed the default Java path environmental variable to use Java 1.7. I was stuck on this problem for along time and I am pretty sure I tried every possible way/setting I could think of.

@patflynn
Copy link
Contributor

@loosebazooka could be worth seeing if we can reproduce. This looks similar to an earlier Java 8 related SDK bug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants