Does the Java App Engine IDE support the Java8 Stream API?

I have a project that uses AppEngine 1.9.54 on the server and GWT 2.8 on the client. When I use Stream API server side it always throws this exception:

java.lang.NoClassDefFoundError: java.util.stream.Collectors is a restricted class. Please see the Google  App Engine developer guide for more details.

      

The code that uses the Stream API on the client is fine, only the code on the server side. Does GAE java8 support Stream API runtime?

+3


source to share





All Articles