Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Error: class name are only accepted if annotation processing is explicitly requested.

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Error: class name are only accepted if annotation processing is explicitly requested.

    hi guys,

    i am new to java, need ur help.

    this is my first java program.

    public class Myjava
    {

    public static void main (string args[])
    {
    system.out.println("hello java world");
    }
    }


    i am getting the below error in cmd when compiling the program with command javac Myjava

    Error: class name are only accepted if annotation processing is explicitly requested.


    please help.

    thanks in advance.


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Error: class name are only accepted if annotation processing is explicitly requested.

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    Did you try Googling the error message? Here's a page I found when I tried.

  3. #3
    Junior Member
    Join Date
    Jan 2024
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Error: class name are only accepted if annotation processing is explicitly requested.

    While searching for ways to improve my project's data accuracy, I stumbled upon a guide on hiring an annotation specialist. It was quite the eye-opener, laying out the qualifications and skills that are crucial for the role. This guide made it clear how important these experts are for projects needing precise data labeling. It's a must-read for anyone in the same boat, trying to enhance their team with a skilled specialist.

Similar Threads

  1. POJ 1002: The code is not accepted by the system of online judge
    By rx78mk2 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: June 14th, 2013, 06:04 AM
  2. Annotation on enum constant.
    By Doctor X in forum What's Wrong With My Code?
    Replies: 0
    Last Post: April 22nd, 2012, 09:43 AM
  3. servlet annotation
    By mr.miku in forum Java Servlet
    Replies: 1
    Last Post: November 19th, 2011, 01:40 PM
  4. Help requested - testing a class with a tester class, no methods allowed.
    By miketeezie in forum What's Wrong With My Code?
    Replies: 3
    Last Post: February 21st, 2011, 10:40 PM
  5. ERROR WHILE PROCESSING JSF FILE
    By Pankaj in forum JavaServer Pages: JSP & JSTL
    Replies: 3
    Last Post: July 10th, 2010, 12:42 AM