Javac compile error

2011-12-29 Thread misko237
Hi to all gwt developers.

I have one strange problem. Until recently, everything worked fine,
but then, when I'm in development mode, first time I start my browser,
I got java compiler error.

HTTP ERROR: 500

Compile failed; see the compiler error output for details.

RequestURI=/index.jsp
Caused by:

Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:
382)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:
511)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
295)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
487)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1097)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
66)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:
168)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:
58)
at
com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:
118)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:
113)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1088)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
360)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at
org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:
49)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
505)
at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
395)
at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:488)

Powered by Jetty://

Can anyone help me? Some suggestion?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegro

GWT javac compile error

2010-08-16 Thread brt56
All

When I compile my GWT project in eclipse it compiles. When I use the
command line with the ant build scripts I get a generic error

ant command line error

ant build script.






































Now If I don't call the javac_gwt target the project will compile. It
only errors when I make the call to javac_gwt


Error

HandlerManager.java:192: type parameters of H cannot be determined;
no unique maximal instance exists for type variable H with upper
bounds
H,com.test.web.clearing.client.event.downloader.GwtDownloadEventHander
[javac] return registry.getHandler(classType, index);
[javac]   ^
[javac] 1 error

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: javac compile error

2010-04-15 Thread kozura
First bet is usually that you are using a different version of java on
the command line - try javac -version and compare it with what you are
using in eclipse.

On Apr 14, 8:14 pm, txciggy  wrote:
> Hi,
>
> I'm a newbie to command-line compiling. I have used Eclipse before to
> compile GWT projects without any problem. This is the first time I
> have had to deal with automating javac compiling and ant build using a
> Makefile. I am getting the following compiling error. I haven't found
> anything related on the forum yet.
>
> 
> $ make
> .. building with ant
> Buildfile: build.xml
>
> libs:
>
> javac:
>     [javac] Compiling 58 source files to /home/rr208664/FabricMonitor/
> war/WEB-INF/classes
>     [javac] --
>     [javac] 1. ERROR in /home/rr208664/FabricMonitor/src/com/sun/
> fabricmonitor/client/chart/Chart.java (at line 22)
>     [javac]     public class Chart extends FlowPanel{
>     [javac]                                ^
>     [javac] The type Iterable is not generic; it cannot be
> parameterized with arguments 
>     [javac] --
>     [javac] 1 problem (1 error)
>
> BUILD FAILED
> /home/rr208664/FabricMonitor/build.xml:30: Compile failed; see the
> compiler error output for details.
>
> Total time: 2 seconds
> make: *** [gwt] Error 1
> $
> 
>
> This project compiles without any problem in Eclipse. My Chart class
> is straightforward:
>
> =
> public class Chart extends HorizontalPanel{
>
>         private SimplePlot plot;
>         .
>         .
>         .
>
>         public Chart() {
>
>               ...
>         }
>         .
>         .
>         .
>         .
>
>         public void setSampleRate(int rate) {
>               
>         }
>
>         public void setChartSize(int height, int width) {
>               
>         }
>
> }
>
> =

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



javac compile error

2010-04-15 Thread txciggy
Hi,

I'm a newbie to command-line compiling. I have used Eclipse before to
compile GWT projects without any problem. This is the first time I
have had to deal with automating javac compiling and ant build using a
Makefile. I am getting the following compiling error. I haven't found
anything related on the forum yet.


$ make
.. building with ant
Buildfile: build.xml

libs:

javac:
[javac] Compiling 58 source files to /home/rr208664/FabricMonitor/
war/WEB-INF/classes
[javac] --
[javac] 1. ERROR in /home/rr208664/FabricMonitor/src/com/sun/
fabricmonitor/client/chart/Chart.java (at line 22)
[javac] public class Chart extends FlowPanel{
[javac]^
[javac] The type Iterable is not generic; it cannot be
parameterized with arguments 
[javac] --
[javac] 1 problem (1 error)

BUILD FAILED
/home/rr208664/FabricMonitor/build.xml:30: Compile failed; see the
compiler error output for details.

Total time: 2 seconds
make: *** [gwt] Error 1
$


This project compiles without any problem in Eclipse. My Chart class
is straightforward:

=
public class Chart extends HorizontalPanel{

private SimplePlot plot;
.
.
.

public Chart() {

  ...
}
.
.
.
.

public void setSampleRate(int rate) {
  
}

public void setChartSize(int height, int width) {
  
}

}
=

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.