PDA

View Full Version : TaskScheduler not found



tajenders
Nov 12th, 2009, 02:55 AM
I was trying to upgrated to Spring integration 2.0.M1. However while extending my Aggregator from DefaultMessageAggregator. I get this compilation exception.

If there any dependency which I am missing? My Spring Core is version 2.5.5


[INFO] Compilation failure
Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.5.0_08). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include
your program and the following diagnostic in your report. Thank you.
com.sun.tools.javac.code.Symbol$CompletionFailure: file org\springframework\scheduling\TaskScheduler.class not found



Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.5.0_08). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include
your program and the following diagnostic in your report. Thank you.
com.sun.tools.javac.code.Symbol$CompletionFailure: file org\springframework\scheduling\TaskScheduler.class not found

iwein
Nov 12th, 2009, 04:54 AM
I think you're missing Spring 3.0.0.x.

Also I recommend using BufferingMessageHandler as and extension point, instead of DefaultMessageAggregator. It is intended to be easier to extend, so I'd like to have it tried out as much as possible.

tajenders
Nov 12th, 2009, 05:45 AM
Thanks Iwein,

Working fine using Spring 3.0!

~Tajender