Skip to main content

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

Hello All,
   We are seeing the same issue as outlined here with 9.2.7-jetty:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=416971

(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

:

:




Back to the top