Up to now the source compiled always without problem with ant. But today I got the following error that makes my wondering.
Buildfile: build.xml
init:
compile:
Compiling 252 source files to C:\homes\guido\workspace\messenger\tar
get\classes
C:\homes\guido\workspace\messenger\src\java\org\jivesoftware\databas
e\JNDIDataSourceProvider.java:113: cannot find symbol
symbol : constructor InitialContext(java.util.Properties)
location: class javax.naming.InitialContext
context = new InitialContext(contextProperties);
^
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
Any Idea what could be wrong?
Thanks
Guido