6
votes
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
Ugh, I just had to do an upgrade from findbugs to spotbugs (a significant fast forward) for work, and it was weeks of updating. If you’re going to add linters to your projects, make sure to keep them up to date.
I’ve been trying to get klipper to run on atsamc21, so I can use Duet3D Toolboards with it. I can’t seem to establish a connection over CAN bus though.
I am having a hell of a time getting a stupid Spring Boot project off the ground. I have no idea why the application isn't finding the Controller classes and autoconfiguring them so I can do a simple
GET /foo
.For whatever reason, the spring-boot-starter-actuator is configured properly, so I can
GET /actuator
just fine.Debug logging is showing that none of my controller classes are being found for autoconfiguration, which originally lead me to believe I had my package structure incorrect, but following the advice found here but that didn't help at all. Nothing changed in the structure, or the debug output in the logs after that.
If anyone has (probably less than 5 minutes) of experience to donate and show me what the hell I'm doing wrong, I would very much appreciate that. I feel like a freshman back in CS 101 again 😅 Link to my github project
Your project is working for me in a VM running Ubuntu and OpenJDK 17.
Using the instructions for running using Gradle:
Then visit
http://localhost:8080/foo
and I see "Foo" in Firefox.What the hell, I'm not getting that running it using openjdk 17 through intellij on windows....
I even ran it through powershell just to make sure, and I'm still getting 404's.
There can't be THAT much of a broken difference between windows and Linux...
Do you have spaces in your project directory path?
Spring Boot Issue #34379: In Spring Boot 3.0.3, component scanning does not work when application's path contains one characters that would be URL encoded and it's not being run as an archive
I absolutely do (thanks windows 💢). I'll make a change to spring boot 3.1.0 Milestone and see if that fixes the problem. If not, I'll downgrade to 3.0.2 for the time being, and see what that does.
Thanks for the help :)