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 2 of 2

Thread: maven don't support the casting

  1. #1
    Member
    Join Date
    Jul 2013
    Posts
    46
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default maven don't support the casting

    Hi,

    i am just new with maven, any way i tried to write a test code, i did every thing, i added every repository and dependency

    but some how i am encounter by a error (understandable error) , that where ist "cast", there is error

    for examble

    int NewColumn =  (int) col1.get(f);


    i use Eclipse as IDE, and my pom packaging is war

    have any body any idea?


  2. #2
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,669
    Thanks
    25
    Thanked 327 Times in 304 Posts

    Default Re: maven don't support the casting

    What makes you think this is a maven problem? What error message are you getting? Is col1.get() actually an int value? Is it an Integer instead of an int perhaps? We need more information to help you.
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

Similar Threads

  1. Adding maven plugin to Eclipse Ide
    By AMBASHA in forum Java IDEs
    Replies: 0
    Last Post: February 20th, 2013, 01:46 AM
  2. Replies: 1
    Last Post: September 30th, 2010, 02:36 PM
  3. GCJ with Maven ?
    By alexandre.garcia in forum Java Theory & Questions
    Replies: 0
    Last Post: September 29th, 2010, 03:27 PM
  4. Maven Issues - mvn install
    By Paolo Futre in forum Java Theory & Questions
    Replies: 5
    Last Post: August 26th, 2009, 05:07 AM