More info/discovery:
Ok, even though ant SAYS the javac and the build went ok (i.e. "BUILD SUCCESSFUL" and no obvious errors...as in "Don't worry, Charlie Brown, I won't pull the football away this time
) when I deployed to tomcat, tomcat choked on it with essentially the same errors as Eclipse...yes, Eclipse, not ant build:
Code:
Constructor threw
exception; nested exception is java.lang.Error: Unresolved compilation problems
:
The import javax.xml.bind cannot be resolved
The import javax.xml.bind cannot be resolved
The import org.joda cannot be resolved
The import org.joda cannot be resolved
The import org.springframework cannot be resolved
AbstractMarshallingPayloadEndpoint cannot be resolved to a type
JAXBContext cannot be resolved to a type
JAXBContext cannot be resolved
Marshaller cannot be resolved to a type
...and so on...
Somehow ant is still not correctly building in Eclipse unless I create the Eclipse-specific "User Libraries" and add then to the project's build path...which is wierd. I mean, why would ant/tomcat care about anything that Eclipse-specific? I must be missing something else about the classpath. (Yes, the build put the jars in the war in the correct spot, as it has done all along, i.e. even back when it was working ok, so this is not about the jars just not being in the war lib dir.)
Ben