CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 error while compiling

Print topic Send  topic

Author Message
demartin

Posts: 7
Posted: 06/20/2007, 5:03 AM

compile:
[mkdir] Created dir: C:\DOCUME~1\DANEAR~1\LOCALS~1\Temp\~jsp\CCSBuild\app\WEB-INF\classes
[javac] Compiling 205 source files to C:\DOCUME~1\DANEAR~1\LOCALS~1\Temp\~jsp\CCSBuild\app\WEB-INF\classes
[javac] C:\DOCUME~1\DANEAR~1\LOCALS~1\Temp\~jsp\CCSBuild\src\com\codecharge\validation\ErrorCollection.java:13: reference to Formatter is ambiguous, both class com.codecharge.util.Formatter in com.codecharge.util and class java.util.Formatter in java.util match
[javac] protected Formatter addingFormatter;
[javac] ^
[javac] C:\DOCUME~1\DANEAR~1\LOCALS~1\Temp\~jsp\CCSBuild\src\com\codecharge\validation\ErrorCollection.java:16: reference to Formatter is ambiguous, both class com.codecharge.util.Formatter in com.codecharge.util and class java.util.Formatter in java.util match
[javac] protected Formatter showingFormatter;
[javac] ^
[javac] C:\DOCUME~1\DANEAR~1\LOCALS~1\Temp\~jsp\CCSBuild\src\com\codecharge\validation\ErrorCollection.java:60: reference to Formatter is ambiguous, both class com.codecharge.util.Formatter in com.codecharge.util and class java.util.Formatter in java.util match
[javac] public void setAddingFormatter( Formatter formatter ) {
[javac] ^
[javac] C:\DOCUME~1\DANEAR~1\LOCALS~1\Temp\~jsp\CCSBuild\src\com\codecharge\validation\ErrorCollection.java:64: reference to Formatter is ambiguous, both class com.codecharge.util.Formatter in com.codecharge.util and class java.util.Formatter in java.util match
[javac] public void setShowingFormatter( Formatter formatter ) {
[javac] ^
[javac] C:\DOCUME~1\DANEAR~1\LOCALS~1\Temp\~jsp\CCSBuild\src\com\codecharge\db\WhereBuilder.java:10: reference to Queue is ambiguous, both class com.codecharge.util.Queue in com.codecharge.util and class java.util.Queue in java.util match
[javac] private Queue params;
[javac] ^
[javac] C:\DOCUME~1\DANEAR~1\LOCALS~1\Temp\~jsp\CCSBuild\src\com\codecharge\AbstractProcessor.java:566: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] cast to java.lang.Object for a varargs call
[javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
[javac] m.invoke(model, new String[] {page.getHttpGetParams().getParameter(parameter)});
[javac] ^
[javac] C:\DOCUME~1\DANEAR~1\LOCALS~1\Temp\~jsp\CCSBuild\src\com\codecharge\components\Component.java:282: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] cast to java.lang.Object for a varargs call
[javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
[javac] Object value = mget.invoke(objRow,null);
[javac] ^
[javac] C:\DOCUME~1\DANEAR~1\LOCALS~1\Temp\~jsp\CCSBuild\src\com\codecharge\util\multipart\RequestParser.java:166: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] cast to java.lang.Object for a varargs call
[javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
[javac] m.invoke(request, new String[] {encoding});
[javac] ^
[javac] C:\DOCUME~1\DANEAR~1\LOCALS~1\Temp\~jsp\CCSBuild\src\com\codecharge\Action.java:77: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] cast to java.lang.Object for a varargs call
[javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
[javac] m.invoke(model, new String[] {page.getParameter(parameter)});
[javac] ^
[javac] C:\DOCUME~1\DANEAR~1\LOCALS~1\Temp\~jsp\CCSBuild\src\com\codecharge\db\WhereBuilder.java:53: reference to Queue is ambiguous, both class com.codecharge.util.Queue in com.codecharge.util and class java.util.Queue in java.util match
[javac] params = new Queue( whereTokens );
[javac] ^
[javac] C:\DOCUME~1\DANEAR~1\LOCALS~1\Temp\~jsp\CCSBuild\src\com\codecharge\db\WhereBuilder.java:75: reference to Queue is ambiguous, both class com.codecharge.util.Queue in com.codecharge.util and class java.util.Queue in java.util match
[javac] params = new Queue( whereTokens );
[javac] ^
[javac] Note: * uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 7 errors
[javac] 4 warnings

BUILD FAILED
C:\DOCUME~1\DANEAR~1\LOCALS~1\Temp\~jsp\CCSBuild\build.xml:40: Compile failed; see the compiler error output for details.

Total time: 8 seconds
View profile  Send private message
demartin

Posts: 7
Posted: 06/20/2007, 5:04 AM

can you please help with my problem
View profile  Send private message
negociant

Posts: 31
Posted: 06/20/2007, 5:08 AM

Which java version did you use?
And which libs in class path?
View profile  Send private message
demartin

Posts: 7
Posted: 06/20/2007, 7:13 PM

I used jdk 1.5 and I added servlet.jar as classpath.
View profile  Send private message
jrluh

Posts: 1
Posted: 08/17/2007, 1:53 PM

I have a compilation problem too, and I'd like to know if it's due to the version of jdk I'm using (1.6.0) since the settings of the project are set for jdk1.3.

The kind of errors I get refer to not found classes.
View profile  Send private message
matheus

Posts: 386
Posted: 08/20/2007, 5:50 AM

This post have how works:

http://forums.codecharge.com/posts.php?post_id=88522
_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.