Results 1 to 2 of 2

Thread: java.lang.NoSuchMethodException: ApplicationBean.getColumnName(java.lang.Object)

  1. #1
    Join Date
    Apr 2012
    Posts
    2

    Exclamation java.lang.NoSuchMethodException: ApplicationBean.getColumnName(java.lang.Object)

    Hi there,

    I am new to Spring Roo and facing the following error when click on "List All" link after creation of Product/Supplier of the bikeshop sample (the one come with Roo 1.2.1 distribution) which run in STS with Tomcat Server 7.0.6 after push in "Inter-Type Declaration":
    Code:
    javax.el.ELException: /pages/supplier.xhtml @25,80 value="#{applicationBean.getColumnName(column)}": java.lang.NoSuchMethodException: com.springsource.bikeshop.web.ApplicationBean.getColumnName(java.lang.Object)
    The following is my development environment:
    • STS 2.9.1
    • Spring Roo 1.2.1
    • JDK 1.6.0_20
    • Puppy Linux (LucidPuppy)



    The same code running fine in command line using "mvn jetty:run-exploded".

    May I know did I missed anything which causing this error? Is this a bug or my mistake?

    To save your time on project creation, you can access the code of bikeshop at https://github.com/limcheekin/bikeshop.

    Thanks in advance.

    Best regards,
    Chee Kin
    Last edited by limcheekin; Apr 20th, 2012 at 03:24 AM. Reason: add project source code link

  2. #2
    Join Date
    Apr 2012
    Posts
    2

    Question Bug of bike shop sample app?

    Hi there,

    Anyone? Is this a bug of bike shop sample app?

    Best regards,
    Chee Kin


    Quote Originally Posted by limcheekin View Post
    Hi there,

    I am new to Spring Roo and facing the following error when click on "List All" link after creation of Product/Supplier of the bikeshop sample (the one come with Roo 1.2.1 distribution) which run in STS with Tomcat Server 7.0.6 after push in "Inter-Type Declaration":
    Code:
    javax.el.ELException: /pages/supplier.xhtml @25,80 value="#{applicationBean.getColumnName(column)}": java.lang.NoSuchMethodException: com.springsource.bikeshop.web.ApplicationBean.getColumnName(java.lang.Object)
    The following is my development environment:
    • STS 2.9.1
    • Spring Roo 1.2.1
    • JDK 1.6.0_20
    • Puppy Linux (LucidPuppy)



    The same code running fine in command line using "mvn jetty:run-exploded".

    May I know did I missed anything which causing this error? Is this a bug or my mistake?

    To save your time on project creation, you can access the code of bikeshop at https://github.com/limcheekin/bikeshop.

    Thanks in advance.

    Best regards,
    Chee Kin

Posting Permissions

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