On Thu, May 4, 2017 at 7:45 PM, Ralph Goers <ralph.go...@dslextreme.com> wrote:
> I get the same thing on my Mac when building only with Java 9. I normally > build with Java 8 or 7 as the default JDK and use toolchains for the Java 9 > specific stuff, so all the tests are run in Java 7 or 8 - except when I > specifically wanted to test the StackWalker support. I tested that through > a benchmark project I have at GitHub. > So what do you run on the command line, exactly, to do "mvn clean install" so I can make sure I did not bork anything? Gary > > In any case, it is failing because java.sql.SQLException is in the > java.sql module, not java.base. I haven’t played around with Java 9 enough > yet to know how to get that to be included in the surefire plugin. > > Ralph > > > On May 4, 2017, at 5:46 PM, Gary Gregory <garydgreg...@gmail.com> wrote: > > > > When I build with Java 9 EA 167 and Maven I get: > > > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Reactor Summary: > > [INFO] > > [INFO] Apache Log4j 2 ..................................... SUCCESS [ > > 2.492 s] > > [INFO] Apache Log4j API ................................... SUCCESS [ > > 24.712 s] > > [INFO] Apache Log4j Core .................................. FAILURE [ > > 51.165 s] > > [INFO] Apache Log4j Core Integration Tests ................ SKIPPED > > [INFO] Apache Log4j 1.x Compatibility API ................. SKIPPED > > [INFO] Apache Log4j SLF4J Binding ......................... SKIPPED > > [INFO] Apache Log4j to SLF4J Adapter ...................... SKIPPED > > [INFO] Apache Log4j Commons Logging Bridge ................ SKIPPED > > [INFO] Apache Log4j Flume Bridge .......................... SKIPPED > > [INFO] Apache Log4j Web ................................... SKIPPED > > [INFO] Apache Log4j Tag Library ........................... SKIPPED > > [INFO] Apache Log4j JMX GUI ............................... SKIPPED > > [INFO] Apache Log4j Samples ............................... SKIPPED > > [INFO] Apache Log4j Samples: Flume - Common ............... SKIPPED > > [INFO] Apache Log4j Samples: Flume - Remote ............... SKIPPED > > [INFO] Apache Log4j Samples: Flume - Embedded ............. SKIPPED > > [INFO] Apache Log4j Samples: Configuration ................ SKIPPED > > [INFO] Apache Log4j Samples: LoggerProperties ............. SKIPPED > > [INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SKIPPED > > [INFO] Apache Log4j Samples: Scala API .................... SKIPPED > > [INFO] Apache Log4j OSGi .................................. SKIPPED > > [INFO] Apache Log4j BOM ................................... SKIPPED > > [INFO] Apache Log4j NoSQL ................................. SKIPPED > > [INFO] Apache Log4J Performance Tests ..................... SKIPPED > > [INFO] Apache Log4j Streaming Interface ................... SKIPPED > > [INFO] Apache Log4j JUL Adapter ........................... SKIPPED > > [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED > > [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 01:20 min > > [INFO] Finished at: 2017-05-04T17:44:33-07:00 > > [INFO] Final Memory: 40M/135M > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test > (default-test) > > on project log4j-core: Execution default-test of goal > > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: > > java.lang.NoClassDefFoundError: java/sql/SQLException: > > java.sql.SQLException -> [Help 1] > > > > Using: > > > > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > > 2017-04-03T12:39:06-07:00) > > Maven home: C:\Java\apache-maven-3.5.0\bin\.. > > Java version: 9-ea, vendor: Oracle Corporation > > Java home: C:\Program Files\Java\jdk-9 > > Default locale: en_US, platform encoding: Cp1252 > > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" > > > > Gary > > > > On Thu, May 4, 2017 at 4:51 PM, Matt Sicker <boa...@gmail.com> wrote: > > > >> If you figure out how to set it up in Eclipse, please share your > >> instructions. I'm guessing you're not the only Eclipse user here. > >> > >> On 4 May 2017 at 18:17, Gary Gregory <garydgreg...@gmail.com> wrote: > >> > >>> On Thu, May 4, 2017 at 4:06 PM, Gary Gregory <garydgreg...@gmail.com> > >>> wrote: > >>> > >>>> Hi all, > >>>> > >>>> I am trying to compile our Java trunk in Eclipse with Eclipse 4.7M6 > and > >>>> the Java 9 BETA support. I get a compile error in > >>>> org.apache.logging.log4j.util.StackWalkerStackLocator because > >>>> StackLocator is not found. Where does that interface live? > >>>> > >>> > >>> Never mind, I see it. Now if I could just get Eclipse to see all of the > >>> java files in log4j-api... grr... > >>> > >>> Gary > >>> > >>>> > >>>> > >>>> G > >>>> > >>>> On Thu, May 4, 2017 at 2:58 PM, Gary Gregory <garydgreg...@gmail.com> > >>>> wrote: > >>>> > >>>>> Does anyone have trunk set up in Eclipse? > >>>>> > >>>>> I'm having a hell of a time getting the current trunk to build in > >>>>> Eclipse... > >>>>> > >>>>> Gary > >>>>> > >>>>> -- > >>>>> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > >>>>> Java Persistence with Hibernate, Second Edition > >>>>> <https://www.amazon.com/gp/product/1617290459/ref=as_li_ > >>> tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459& > >>> linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2 > b8> > >>>>> > >>>>> <http:////ir-na.amazon-adsystem.com/e/ir?t= > >> garygregory-20&l=am2&o=1&a= > >>> 1617290459> > >>>>> JUnit in Action, Second Edition > >>>>> <https://www.amazon.com/gp/product/1935182021/ref=as_li_ > >>> tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021& > >>> linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de4 > >> 18%22 > >>>> > >>>>> > >>>>> <http:////ir-na.amazon-adsystem.com/e/ir?t= > >> garygregory-20&l=am2&o=1&a= > >>> 1935182021> > >>>>> Spring Batch in Action > >>>>> <https://www.amazon.com/gp/product/1935182951/ref=as_li_ > >>> tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951& > >>> linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B% > >>> 7Blink_id%7D%7D%22%3ESpring+Batch+in+Action> > >>>>> <http:////ir-na.amazon-adsystem.com/e/ir?t= > >> garygregory-20&l=am2&o=1&a= > >>> 1935182951> > >>>>> Blog: http://garygregory.wordpress.com > >>>>> Home: http://garygregory.com/ > >>>>> Tweet! http://twitter.com/GaryGregory > >>>>> > >>>> > >>>> > >>>> > >>>> -- > >>>> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > >>>> Java Persistence with Hibernate, Second Edition > >>>> <https://www.amazon.com/gp/product/1617290459/ref=as_li_ > >>> tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459& > >>> linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2 > b8> > >>>> > >>>> <http:////ir-na.amazon-adsystem.com/e/ir?t= > garygregory-20&l=am2&o=1&a= > >>> 1617290459> > >>>> JUnit in Action, Second Edition > >>>> <https://www.amazon.com/gp/product/1935182021/ref=as_li_ > >>> tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021& > >>> linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de4 > >> 18%22 > >>>> > >>>> > >>>> <http:////ir-na.amazon-adsystem.com/e/ir?t= > garygregory-20&l=am2&o=1&a= > >>> 1935182021> > >>>> Spring Batch in Action > >>>> <https://www.amazon.com/gp/product/1935182951/ref=as_li_ > >>> tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951& > >>> linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B% > >>> 7Blink_id%7D%7D%22%3ESpring+Batch+in+Action> > >>>> <http:////ir-na.amazon-adsystem.com/e/ir?t= > garygregory-20&l=am2&o=1&a= > >>> 1935182951> > >>>> Blog: http://garygregory.wordpress.com > >>>> Home: http://garygregory.com/ > >>>> Tweet! http://twitter.com/GaryGregory > >>>> > >>> > >>> > >>> > >>> -- > >>> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > >>> Java Persistence with Hibernate, Second Edition > >>> <https://www.amazon.com/gp/product/1617290459/ref=as_li_ > >>> tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459& > >>> linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2 > b8> > >>> > >>> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a= > >>> 1617290459> > >>> JUnit in Action, Second Edition > >>> <https://www.amazon.com/gp/product/1935182021/ref=as_li_ > >>> tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021& > >>> linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de4 > >> 18%22 > >>>> > >>> > >>> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a= > >>> 1935182021> > >>> Spring Batch in Action > >>> <https://www.amazon.com/gp/product/1935182951/ref=as_li_ > >>> tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951& > >>> linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B% > >>> 7Blink_id%7D%7D%22%3ESpring+Batch+in+Action> > >>> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a= > >>> 1935182951> > >>> Blog: http://garygregory.wordpress.com > >>> Home: http://garygregory.com/ > >>> Tweet! http://twitter.com/GaryGregory > >>> > >> > >> > >> > >> -- > >> Matt Sicker <boa...@gmail.com> > >> > > > > > > > > -- > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > > Java Persistence with Hibernate, Second Edition > > <https://www.amazon.com/gp/product/1617290459/ref=as_li_ > tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459& > linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8> > > > > <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a= > 1617290459> > > JUnit in Action, Second Edition > > <https://www.amazon.com/gp/product/1935182021/ref=as_li_ > tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021& > linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22 > > > > > > <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a= > 1935182021> > > Spring Batch in Action > > <https://www.amazon.com/gp/product/1935182951/ref=as_li_ > tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951& > linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B% > 7Blink_id%7D%7D%22%3ESpring+Batch+in+Action> > > <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a= > 1935182951> > > Blog: http://garygregory.wordpress.com > > Home: http://garygregory.com/ > > Tweet! http://twitter.com/GaryGregory > > > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition <https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459> JUnit in Action, Second Edition <https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021> Spring Batch in Action <https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory