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: java code error

  1. #1
    Junior Member
    Join Date
    Aug 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default java code error

    code=java
    Hi guys!, I have this error while running ejb-3 application. What can I do to solve it.
    DEPLOYMENTS IN ERROR:
    Deployment "jboss.jca:name=MySq,service=DataSourceBinding " is in error due to
    the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=MySq,service=Da
    taSourceBinding' **
    Deployment "<UNKNOWN jboss.j2ee:ear=PostOffice3.ear,jar=PostOffice3-ejb.jar,na
    me=PostOffice3SB,service=EJB3>" is in error due to the following reason(s): ** U
    NRESOLVED Demands 'persistence.unit:unitName=PostOffice3.ear/PostOffice3-ejb.jar
    #PostOffice3-ejbPU' **


  2. #2
    Member Hikaros's Avatar
    Join Date
    Sep 2013
    Posts
    42
    My Mood
    Love
    Thanks
    10
    Thanked 2 Times in 2 Posts

    Default Re: java code error

    Just for the sake of guessing, curiosity and trial.

    Deployment "jboss.jca:name=MySq,service=DataSourceBinding "
    isn't it MySql instead of MySq? I'm assuming you had to type that, i am also assuming you are trying to connect to a database and the error itself is that is not finding the db, might be because of a typo.

    Could be wrong, i'm posting for learning purposes lol.

  3. The Following User Says Thank You to Hikaros For This Useful Post:

    GregBrannon (September 6th, 2013)

Similar Threads

  1. Java Eclipse Code Error
    By eqs.2000 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: July 28th, 2013, 01:37 PM
  2. java.lang.NoSuchMethodError error code
    By nikki101 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: May 25th, 2013, 07:40 PM
  3. Cannot find symbol error in my java code
    By haliza hadi in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 20th, 2013, 07:20 PM
  4. java using textpad. Atm code not having any syntax error but runs funny
    By bukasmayor in forum What's Wrong With My Code?
    Replies: 8
    Last Post: January 28th, 2013, 07:55 AM
  5. Replies: 1
    Last Post: January 17th, 2013, 07:04 AM