Announcement Announcement Module
Collapse
No announcement yet.
JdbcTokenStore NoSuchMethodException Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JdbcTokenStore NoSuchMethodException

    I want to use the database stores token,I use JdbcTokenStore and schema.sql.
    database: mysql.
    Code:
    <bean id="tokenStore" class="org.springframework.security.oauth2.provider.token.JdbcTokenStore" />
    But has a exception.
    Code:
    java.lang.NoSuchMethodException: org.springframework.security.oauth2.provider.token.JdbcTokenStore.<init>()

    How to solove this problem?
    thnks!

  • #2
    The container is telling you it doesn't know how to create an instance of your token store. Look at the implementation and see what constructors it has, then use one of them in your XML configuration?

    Comment

    Working...
    X