Click here to Skip to main content
15,903,362 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm getting the following javac ant build error. I tried using pathconvert to replace the dot separators with slashes, but that didn't work. Suggestions please?

ERROR:
[javac] myfile.java:26: package test.schema.filetest does not exist
[javac] import test.schema.filetest.FileROOT;
Posted
Comments
Maciej Los 1-Apr-14 17:13pm    
We need to see the code! Use "Improve question" widget!

Use a proper IDE like Eclipse or Netbeans.
Both are free.
Both will tell you where the problem is.

Eclipse Download [^]

Netbeans Download [^]


Java
[javac] myfile.java:26: package test.schema.filetest does not exist
[javac] import test.schema.filetest.FileROOT;


Tells you clearly that your java file "myfile.java" has an error in line 26.
It also tells you what is wrong: "package test.schema.filetest does not exist"
And it tells you that the import of "test.schema.filetest.FileROOT" is not available.
 
Share this answer
 
Comments
Allan Larson 2-Apr-14 8:48am    
Thank you for your input!
I discovered the problem: when building my archive jar, I had some of the import nodes within my basedir shown below.
PREVIOUS:
basedir="bin/frms/schema"
includes="filetest/**/*.class">
SOLUTION:
basedir="bin"
includes="frms/schema/filetest /**/*.class">
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900