Results 1 to 1 of 1
  1. #1
    Tomshi is offline Member
    Join Date
    Mar 2011
    Rep Power

    Question Eclipse Compile Error: Call validateValue(Class<T>, String, Object, Class<?>...)

    In Eclipse 3.5 and 3.6, there is an error to call the function validateValue(Class<T>, String, Object, Class<?>...) with the arguments (Class, String, Object, Class[]).

    I have not problem to compile the attached file using javac command line.

    But I got the following error in Eclipse:

    The method validateValue(Class<T>, String, Object, Class<?>...)
    in the type Validator is not applicable for the arguments
    (Class, String, Object, Class[]) /jsf-api/src/javax/faces/validator
    line 307 Java Problem

    The compiling file is a little newer. The line 307 is

    beanValidator.validateValue(valueReference.getBase Class(),

    Eclipse is configured to use the same jdk 6 as the same JDK using in command line javac call.

    Any help will be greatly appreciated.

    Attached Files Attached Files

Similar Threads

  1. Call object methods from another class
    By africanhacker in forum New To Java
    Replies: 16
    Last Post: 03-22-2011, 02:10 AM
  2. How to call an object from another class?
    By narty in forum New To Java
    Replies: 1
    Last Post: 11-01-2010, 09:14 PM
  3. how to call class using String
    By newbiejava in forum New To Java
    Replies: 5
    Last Post: 08-03-2010, 05:20 PM
  4. HashCode value of String class Object!
    By Anjaneyulu in forum Advanced Java
    Replies: 17
    Last Post: 02-24-2010, 02:49 PM
  5. Compile error in Driver class, help plz
    By Battlefeldt in forum New To Java
    Replies: 3
    Last Post: 11-26-2009, 12:30 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts