Results 1 to 5 of 5

Thread: Java source code details unavailable for type SRC_MAIN_JAVA

  1. #1

    Default Java source code details unavailable for type SRC_MAIN_JAVA

    I'm trying to add tests to database reverse engineering code I've already generated.

    I've tried both

    Code:
    test integration --entity ~.db.AddInfo
    test integration --entity org.neoninc.pbb.db.AddInfo
    In both cases I get the following error:
    Code:
    Java source code details unavailable for type SRC_MAIN_JAVA/org.neoninc.pbb.db.A
    ddInfo
    Any ideas what I'm doing wrong? This worked for a previous database on an earlier version of Roo. Has something broke since then? I'm using 1.1.2.

    Thanks!

  2. #2
    Join Date
    Dec 2005
    Posts
    935

    Default

    I'm assuming your AddInfo.java exists and is in the correct package?

    If so, please attach your DDL
    Alan
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  3. #3

    Default

    Yes it's in the correct package.

    The DDL is in http://forum.springsource.org/showpo...34&postcount=5

    I can send you the project backup if you like. I had to update all of the sequences manually. I tried attaching it here, but it's 300Kb.

    Thanks,
    DJ

  4. #4
    Join Date
    Dec 2005
    Posts
    935

    Default

    I already have this schema and was able to reverse engineer and test successfully, except for composite keys, but this is working now as well, so what has changed that it doesn't work for you any more?
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  5. #5

    Default

    OK then I must be doing something wrong. When I type

    Code:
    test integration --entity org.neoninc.pbb.db.AddInfo
    I get

    Code:
    Java source code details unavailable for type SRC_MAIN_JAVA/org.neoninc.pbb.db.A
    ddInfo
    Is there something else that can throw this error when the java class is there?

Posting Permissions

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