I suspect your compiler settings. Check those in eclipse to be certain about your target and compiler being used by your build.
> On Dec 31, 2019, at 10:56 AM, Jeffrey Schmitz via Webobjects-dev > <webobjects-dev@lists.apple.com> wrote: > > > Also, now when I manually fix the Override error I’m getting additional > errors: > > global.dummy: > [wocompile] Compiling 11 source files to > /Users/netBrackets/Roots/classes/ERProfiling > [wocompile] warning: [options] bootstrap class path not set in conjunction > with -source 8 > [wocompile] > /Users/netBrackets/git/WonderSource/Frameworks/Misc/ERProfiling/Sources/er/profiling/classloader/WeavingClassLoader.java:8: > error: cannot find symbol > [wocompile] import sun.misc.Resource; > [wocompile] ^ > [wocompile] symbol: class Resource > [wocompile] location: package sun.misc > [wocompile] > /Users/netBrackets/git/WonderSource/Frameworks/Misc/ERProfiling/Sources/er/profiling/classloader/WeavingClassLoader.java:9: > error: cannot find symbol > [wocompile] import sun.misc.URLClassPath; > [wocompile] ^ > [wocompile] symbol: class URLClassPath > [wocompile] location: package sun.misc > [wocompile] > /Users/netBrackets/git/WonderSource/Frameworks/Misc/ERProfiling/Sources/er/profiling/classloader/WeavingClassLoader.java:87: > error: cannot find symbol > [wocompile] Resource res = new > URLClassPath(getURLs()).getResource(path, false); > [wocompile] ^ > [wocompile] symbol: class Resource > [wocompile] location: class WeavingClassLoader > [wocompile] > /Users/netBrackets/git/WonderSource/Frameworks/Misc/ERProfiling/Sources/er/profiling/classloader/WeavingClassLoader.java:87: > error: cannot find symbol > [wocompile] Resource res = new > URLClassPath(getURLs()).getResource(path, false); > [wocompile] ^ > [wocompile] symbol: class URLClassPath > [wocompile] location: class WeavingClassLoader > [wocompile] 4 errors > [wocompile] 1 warning > > > > >> On Dec 31, 2019, at 9:52 AM, Jeffrey Schmitz <jeff.schm...@netbrackets.com >> <mailto:jeff.schm...@netbrackets.com>> wrote: >> >> I switched to java 8: >> >> java -version >> openjdk version "1.8.0_232" >> OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_232-b09) >> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.232-b09, mixed mode) >> >> >> >> But am still getting the error. >> >> [wocompile] >> /Users/netBrackets/git/WonderSource/Frameworks/Core/ERExtensions/Sources/er/extensions/jdbc/ERXJDBCConnectionBroker.java:269: >> error: method does not override or implement a method from a supertype >> [wocompile] @Override >> [wocompile] ^ >> [wocompile] Note: Some input files use or override a deprecated API. >> [wocompile] Note: Recompile with -Xlint:deprecation for details. >> [wocompile] Note: Some input files use unchecked or unsafe operations. >> [wocompile] Note: Recompile with -Xlint:unchecked for details. >> [wocompile] 1 error >> [wocompile] 15 warnings >> >> >> >>> On Dec 30, 2019, at 3:49 PM, Henrique Prange <hpra...@gmail.com >>> <mailto:hpra...@gmail.com>> wrote: >>> >>> Hi Jeffrey, >>> >>> What Java version are you using to compile the code? If it's Java 11 or >>> greater, this error is expected because the method destroy of the Thread >>> class was removed. It's deprecated since Java 8. >>> >>> Currently, it's advisable to build Wonder with Java 8. You can still use >>> the resulting binaries on projects with Java 11+ at your own risk. >>> >>> Cheers, >>> >>> HP >>> >>>> On Dec 30, 2019, at 2:30 PM, Jeffrey Schmitz via Webobjects-dev >>>> <webobjects-dev@lists.apple.com <mailto:webobjects-dev@lists.apple.com>> >>>> wrote: >>>> >>>> Hello List (again), >>>> I’m trying to build the latest wonder source and am getting the below >>>> error. I was able to build by deleting the @Override annotation, but am >>>> not sure if this is the right thing to do . >>>> >>>> [wocompile] >>>> /Users/netBrackets/git/WonderSource/Frameworks/Core/ERExtensions/Sources/er/extensions/jdbc/ERXJDBCConnectionBroker.java:269: >>>> error: method does not override or implement a method from a supertype >>>> [wocompile] @Override >>>> [wocompile] ^ >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Do not post admin requests to the list. They will be ignored. >>>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com >>>> <mailto:Webobjects-dev@lists.apple.com>) >>>> Help/Unsubscribe/Update your Subscription: >>>> https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com >>>> <https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com> >>>> >>>> This email sent to hpra...@gmail.com <mailto:hpra...@gmail.com> >>> >> > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com > > This email sent to jtay...@oeinc.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com