Announcement Announcement Module
Collapse
No announcement yet.
No bean named 'dataSource' Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • No bean named 'dataSource'

    I'm imaging that this is related to the new profile feature -- I've add the additional VM argument, but when running the app (STS 2.5.0) I get the error about no bean named dataSource. Any way to check the current profile or further investigate the problem?

  • #2
    Make sure to set -DspringProfiles=embedded.

    Keith

    Comment


    • #3
      yeah, i had tried that. Apparently it wasn't sticking in the run configuration, I placed that directive first in the list of VM arguments, rather than last, and now it works
      Thanks!

      Comment

      Working...
      X