Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Need to compile either the the latest jetty code or jetty-9.3.0-rc1 in java 7

Jetty 9.3+ requires java 1.8+ due to requirements in the http/2 implementation.  We maintain Jetty 9.2.x for the users that are unable to migrate off of java 1.7 yet though it should be a priority for everyone to update JDK versions since it is no longer supported by Oracle (outside of paid support).

http://www.eclipse.org/jetty/documentation/current/what-jetty-version.html

cheers,
Jesse

--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx

On Wed, Jan 13, 2016 at 9:00 AM, Sesha Nandyal <sesha.nandyal@xxxxxxxxx> wrote:
Hello All,
   We are seeing the same issue as outlined here with 9.2.7-jetty:

(CLOSE_WAIT issue)

   Since this has been resolved in jetty-9.3.0-rc1, I wanted to use this code base (or even the latest code) to build using Java 7 (we are using 1.7 and we cannot move to 1.8 for now).

   Running mvn install failed as it needed me to use 1.8. Changing the pom.xml to accept 1.7 also did not work. I got the following error. How would I go about building the code using java 1.7.

Thank you,
Sesha


Following is the build error, when trying to compile using java 1.7

[INFO] -------------------------------------------------------------

[ERROR] COMPILATION ERROR : 

[INFO] -------------------------------------------------------------

[ERROR] /Users/sesha/workspace/jetty/jetty.project-jetty-9.3.0.RC1/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SniX509ExtendedKeyManager.java:[28,21] cannot find symbol

  symbol:   class SNIMatcher

  location: package javax.net.ssl

[ERROR] /Users/sesha/workspace/jetty/jetty.project-jetty-9.3.0.RC1/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SniX509ExtendedKeyManager.java:[74,88] cannot find symbol

  symbol:   class SNIMatcher

  location: class org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager

[ERROR] /Users/sesha/workspace/jetty/jetty.project-jetty-9.3.0.RC1/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java:[55,21] cannot find symbol

  symbol:   class SNIHostName

  location: package javax.net.ssl

[ERROR] /Users/sesha/workspace/jetty/jetty.project-jetty-9.3.0.RC1/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java:[56,21] cannot find symbol

  symbol:   class SNIMatcher

  location: package javax.net.ssl

:

:




_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top