What happens if you target Java 7 for your build?

Fred Sauer on Android
On Aug 14, 2014 3:23 PM, "Dennis Foster" <[email protected]> wrote:

> Actually, I'm building with Java 8 (v1.8.0_11).
>
>
> On Thursday, August 14, 2014 3:39:25 PM UTC-6, Fred Sauer wrote:
>>
>> 51.0 is Java 7.
>>
>> Are you trying to build with Java 6?
>>
>>
>> On Thu, Aug 14, 2014 at 1:56 PM, Dennis Foster <[email protected]>
>> wrote:
>>
>>> Anybody got gwt-log working with GWT SuperDevMode using the latest
>>> versions of both (gwt-log v3.3.1, GWT 2.6.1)?
>>>
>>> When I try to start my Eclipse debug configuration for SuperDevMode with
>>> the v3.3.1/v2.6.1 combination, I now get the following error and the debug
>>> session won't start.
>>>
>>> Loading inherited module '...this is the name of my module file...'
>>>    Loading inherited module 'com.allen_sauer.gwt.log.gwt-log-DEBUG'
>>>       Loading inherited module 'com.allen_sauer.gwt.log.gwt-log-impl'
>>>          [ERROR] Unexpected error while processing XML
>>> java.lang.UnsupportedClassVersionError: 
>>> com/allen_sauer/gwt/log/rebind/LogMessageFormatterGenerator
>>> : Unsupported major.minor version 51.0
>>> at java.lang.ClassLoader.defineClass1(Native Method)
>>>  at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>>>  at java.security.SecureClassLoader.defineClass(
>>> SecureClassLoader.java:141)
>>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>>>  at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>>>  at java.security.AccessController.doPrivileged(Native Method)
>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>>  at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>> at com.google.gwt.dev.cfg.ModuleDefSchema$ClassAttrCvt.
>>> convertToArg(ModuleDefSchema.java:888)
>>>  at com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(
>>> HandlerArgs.java:64)
>>> at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(
>>> HandlerMethod.java:221)
>>>  at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.
>>> startElement(ReflectiveParser.java:294)
>>> at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
>>> Source)
>>>  at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
>>> Source)
>>> at 
>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
>>> Source)
>>>  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
>>> $FragmentContentDispatcher.dispatch(Unknown Source)
>>> at 
>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>> Source)
>>>  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>>  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>>>  at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
>>> Source)
>>> at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(
>>> ReflectiveParser.java:347)
>>>  at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$
>>> 200(ReflectiveParser.java:68)
>>> at com.google.gwt.dev.util.xml.ReflectiveParser.parse(
>>> ReflectiveParser.java:418)
>>>  at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(
>>> ModuleDefLoader.java:346)
>>> at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(
>>> ModuleDefSchema.java:497)
>>>  at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>> DelegatingMethodAccessorImpl.java:25)
>>>  at java.lang.reflect.Method.invoke(Method.java:597)
>>> at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(
>>> HandlerMethod.java:230)
>>>  at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.
>>> startElement(ReflectiveParser.java:294)
>>> at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
>>> Source)
>>>  at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
>>> Source)
>>> at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown
>>> Source)
>>>  at 
>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
>>> Source)
>>> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
>>> $FragmentContentDispatcher.dispatch(Unknown Source)
>>>  at 
>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>> Source)
>>> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>>  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>>  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>>> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
>>> Source)
>>>  at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(
>>> ReflectiveParser.java:347)
>>> at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$
>>> 200(ReflectiveParser.java:68)
>>>  at com.google.gwt.dev.util.xml.ReflectiveParser.parse(
>>> ReflectiveParser.java:418)
>>> at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(
>>> ModuleDefLoader.java:346)
>>>  at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(
>>> ModuleDefSchema.java:497)
>>> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>>>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>> DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>  at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(
>>> HandlerMethod.java:230)
>>> at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.
>>> startElement(ReflectiveParser.java:294)
>>>  at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
>>> Source)
>>> at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
>>> Source)
>>>  at 
>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
>>> Source)
>>> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
>>> $FragmentContentDispatcher.dispatch(Unknown Source)
>>>  at 
>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>> Source)
>>> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>>  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>>  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>>> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
>>> Source)
>>>  at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(
>>> ReflectiveParser.java:347)
>>> at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$
>>> 200(ReflectiveParser.java:68)
>>>  at com.google.gwt.dev.util.xml.ReflectiveParser.parse(
>>> ReflectiveParser.java:418)
>>> at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(
>>> ModuleDefLoader.java:346)
>>>  at com.google.gwt.dev.cfg.ModuleDefLoader.load(
>>> ModuleDefLoader.java:267)
>>> at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(
>>> ModuleDefLoader.java:210)
>>>  at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromResources(
>>> ModuleDefLoader.java:170)
>>> at com.google.gwt.dev.codeserver.Recompiler.loadModule(
>>> Recompiler.java:214)
>>>  at com.google.gwt.dev.codeserver.Recompiler.noCompile(
>>> Recompiler.java:146)
>>> at com.google.gwt.dev.codeserver.ModuleState.<init>(ModuleState.java:52)
>>>  at com.google.gwt.dev.codeserver.CodeServer.makeModules(
>>> CodeServer.java:120)
>>> at com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:95)
>>>  at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:71)
>>> at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:49)
>>>       [ERROR] Line 23: Unexpected exception while processing element
>>> 'inherits'
>>>
>>> - - - - -
>>>
>>> Note that I had this working most recently using gwt-log v3.1.8 and GWT
>>> 2.6.0.  I'm using the same debug configuration now as I was with the
>>> earlier version combination.  If I remove the gwt-log stuff from my module
>>> XML (and remove the code references), SuperDevMode works fine.
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "gwt-log" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/gwt-log.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Fred Sauer
>> [email protected]
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "gwt-log" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/gwt-log.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"gwt-log" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/gwt-log.
For more options, visit https://groups.google.com/d/optout.

Reply via email to