question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ResourceController not loaded after upgrade to version 1.2.0.RELEASE

See original GitHub issue

After upgrading from version 1.1.3 to version 1.2.0.RELEASE (by changing Spring Cloud dependencies from Brixton.SR5 to Camden.RELEASE), the ResourceController is not instantiated and thus plain text files don’t work.

I analysed the problem and found that Bean resourceRepository in class ResourceRepositoryConfiguration is not instantiated because the annotation @ConditionalOnBean(SearchPathLocator.class) cannot find the bean. When I changed the condition to @ConditionalOnBean(name = "environmentRepository") the issue is fixed.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
spencergibbcommented, Oct 15, 2016

This is fixed on master. See b8278772837ad60a1db9d658e7a8ef4f33b80732

0reactions
spencergibbcommented, Nov 3, 2016

@tschlegel I meant snapshots, it wasn’t part of SR2

Read more comments on GitHub >

github_iconTop Results From Across the Web

ServiceNotFoundException You have requested a non ...
If an install occurs without the database defined in settings.php \Drupal\Core\DrupalKernel::$configStorage will be set to a NullStorage object.
Read more >
FATAL: Could not initialize class hudson.util.ProcessTree ...
Artifactory plugin publishes artifacts after the script finishes. Somehow artifacts are always published, but afterwards, this error happens. The issue was not ......
Read more >
iKnowBase Release Notes
For older versions, refer to earlier release notes. Two important issues before you continue: • The installation guide is upgraded for every version....
Read more >
Chef Infra Client Release Notes
Chef Infra Client 18.0.169 does not include support for effortless on Windows. ... version, and release (EVR) of an RPM since omitting the...
Read more >
Jenkins ClearCase UCM plugin retrieving changes error
1) An element cannot be delivered because it cannot be checked out in the ... If you use a version of plugin older...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found