Announcement Announcement Module
No announcement yet.
JSON Related classes can't be resolved Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • JSON Related classes can't be resolved


    I am first time user and have made quite a progress with lot of features of Spring Roo. I am trying the database reverse engineering command for the first time and running into compile time issues while importing the project in STS. I can see all the domain objects and web artifacts are created correctly but JSON related classes are not resolved. I verified that flexjson-2.1.jar file is downloaded in my local Maven repository. Since errors are in aspectJ ITD class, I am reluctant to modify the file to resolve the issue. My database is MySQL and JPA provider is Hibernate.

    Please suggest. Listed below is twoof the compile time errors.

    JSONDeserializer cannot be resolved to a type DocTpeSubtpeRltnPK_Roo_Json.aj

    JSONSerializer cannot be resolved to a type DocTpeSubtpeRltnPK_Roo_Json.aj

  • #2

    is it possible to attach here your spring-roo project - you can use backup command.


    • #3
      Find attached Spring project

      Here you go...Attachment
      Attached Files


      • #4
        I've compiled your project successfully with clean local maven repository. If you still got this problem you can try to clear your local maven repository and let maven to download dependencies.

        Local repository is in .m2 directory.