strikersix23 / walkaround

Automatically exported from code.google.com/p/walkaround
Apache License 2.0
0 stars 0 forks source link

./runant run -> compile fails with "serializable class com.google.appengine.tools.mapreduce.MapReduceServlet has no definition of serialVersionUID" #59

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Follow the 'steps to run walkaround' 
[http://code.google.com/p/walkaround/wiki/RunningTheCode]

What is the expected output?  What do you see instead?
./runant run should compile the project without error but fails for 5 source 
files (see log below)

On what operating system?
Ubuntu 11.10

Did you compile walkaround on your machine, or are you using a public instance?
Tried to compile on a fresh Ubuntu install on a VPS.

Please provide any additional information below.
From the console:
compile:
    [javac] Compiling 389 source files to /root/projects/walkaround/build/server
    [javac] /root/projects/walkaround/third_party/appengine-mapreduce/appengine-mapper.jar(com/google/appengine/tools/mapreduce/MapReduceServlet.java):59: warning: [serial] serializable class com.google.appengine.tools.mapreduce.MapReduceServlet has no definition of serialVersionUID
    [javac] public class MapReduceServlet extends HttpServlet {
    [javac]        ^
    [javac] /root/projects/walkaround/third_party/appengine-mapreduce/appengine-mapper.jar(com/google/appengine/tools/mapreduce/InvalidConfigurationException.java):25: warning: [serial] serializable class com.google.appengine.tools.mapreduce.InvalidConfigurationException has no definition of serialVersionUID
    [javac] public class InvalidConfigurationException extends RuntimeException {
    [javac]        ^
    [javac] /root/projects/walkaround/third_party/appengine-mapreduce/appengine-mapper.jar(com/google/appengine/tools/mapreduce/MissingTemplateParameterException.java):24: warning: [serial] serializable class com.google.appengine.tools.mapreduce.MissingTemplateParameterException has no definition of serialVersionUID
    [javac] public class MissingTemplateParameterException extends RuntimeException {
    [javac]        ^
    [javac] /root/projects/walkaround/third_party/appengine-mapreduce/appengine-mapper.jar(com/google/appengine/tools/mapreduce/UnexpectedTemplateParameterExcep
tion.java):24: warning: [serial] serializable class 
com.google.appengine.tools.mapreduce.UnexpectedTemplateParameterException has 
no definition of serialVersionUID
    [javac] public class UnexpectedTemplateParameterException extends RuntimeException {
    [javac]        ^
    [javac] warning: Implicitly compiled files were not subject to annotation processing.
    [javac] Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
    [javac] 5 warnings
     [copy] Copying 1 file to /root/projects/walkaround/build/war/WEB-INF/classes/com/google/walkaround
    [touch] Creating /root/projects/walkaround/build/dep/compile

Original issue reported on code.google.com by oliver.friedrich@gmail.com on 3 Feb 2012 at 12:28

GoogleCodeExporter commented 8 years ago
The output you pasted shows no errors, only warnings.

Original comment by oh...@google.com on 3 Feb 2012 at 12:40

GoogleCodeExporter commented 8 years ago
Thanks for your hint. You're of course right - only warnings, no errors.

By now I remember that warning "serializable class ... has no definition of 
serialVersionUID" from my Java days but that was quite some time ago so please 
excuse the noise.

Cheers, Oliver

Original comment by oliver.friedrich@gmail.com on 3 Feb 2012 at 9:59

GoogleCodeExporter commented 8 years ago

Original comment by oh...@google.com on 3 Feb 2012 at 11:16