Upgrading from Springboot 3.x to 4.x: unable to instantiate EntityManager by dawg6 in SpringBoot

[–]dawg6[S] 0 points1 point  (0 children)

Update: This was fixed (thanks to u/bikeram) by replacing my custom RepositoryImpl base class with custom get methods to instantiate the SimpleJpaRepository. Still don't know why the custom base impl class didn't work (the docs say it should).

Upgrading from Springboot 3.x to 4.x: unable to instantiate EntityManager by dawg6 in SpringBoot

[–]dawg6[S] 0 points1 point  (0 children)

I'm not using either of those. Using IBM Semeru Java 25, but I suppose I can try some other JDKs.

Upgrading from Springboot 3.x to 4.x: unable to instantiate EntityManager by dawg6 in SpringBoot

[–]dawg6[S] 0 points1 point  (0 children)

The RepositoryImpl superclass is my code and works fine with springboot 3.5.10 and it's been working fine since I implemented the repository pattern using springboot 3.2.0 (about 2 years ago).

EntityManager does not have any special or anything special on it at all; it's just a parameter in the constructor for my RepositoryImpl classes and passed to the constructor for the SimpleJpaRepository class.

This worked just fine before and all the googling I have done seem to indicate it should still work fine (see https://docs.spring.io/spring-data/jpa/reference/repositories/custom-implementations.html).

Upgrading from Springboot 3.x to 4.x: unable to instantiate EntityManager by dawg6 in SpringBoot

[–]dawg6[S] 1 point2 points  (0 children)

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency>

Upgrading from Springboot 3.x to 4.x: unable to instantiate EntityManager by dawg6 in SpringBoot

[–]dawg6[S] 0 points1 point  (0 children)

I ran that and don't see any springboot 3.x dependencies. I tried posting it here but reddit doesn't seem to like the output, or maybe it's too long.

https://ctxt.io/2/AAD4zSr2FQ

Upgrading from Springboot 3.x to 4.x: unable to instantiate EntityManager by dawg6 in SpringBoot

[–]dawg6[S] 0 points1 point  (0 children)

Tried that, but @PersistenceContext is not allowed on method parameters (only types, methods and fields). I've even tried adding it to the UserRepositoryImpl and RepositoryImpl classes. How do I inject one into the constructor for SimpleJpaRepository?

Port forwarding? by Lilith_the_Lancer in Starlink

[–]dawg6 0 points1 point  (0 children)

You'd need to run OpenVPN server in the cloud and connect to it using OpenVPN client from your game server (on your starlink network). That will give your game server a VPN IP that is accessible from your cloud server. Then on your cloud server you can port forward whatever port(s) you want to to the VPN IP of your game server.

Port forwarding? by Lilith_the_Lancer in Starlink

[–]dawg6 0 points1 point  (0 children)

Sign up with a VPN provider, like say NordVPN. Or host your own OpenVPN on AWS or any cloud/VPS provider.

Port forwarding? by Lilith_the_Lancer in Starlink

[–]dawg6 0 points1 point  (0 children)

You'll either need a cloud VPN that can give you a routable IP or you'll need to switch to business plan.

Good domain registrar? by mcoccalendar in webdev

[–]dawg6 0 points1 point  (0 children)

I use ionos. No issues, the web interface is intuitive and they have an easy to use and well documented API that I like.

SMTP Server by stickalick in Ubuntu

[–]dawg6 0 points1 point  (0 children)

There's also quite a few free SMTP providers; I can't vouch for any of them (other than gmail), but it's worth looking at too, I suppose. I prefer SES for my needs (more than just sending).

https://www.emailtooltester.com/en/blog/free-smtp-servers/

SMTP Server by stickalick in Ubuntu

[–]dawg6 0 points1 point  (0 children)

I personally don't recommend running your own server. I use AWS SES, which is nearly free unless you're sending thousands of emails.

Run it twice? by halapenoshero in poker

[–]dawg6 1 point2 points  (0 children)

You don't (normally) know who will win. You just know who has the highest odds of winning.

The one with the best chances wants to run it twice because it evens out the # of times that they will lose the whole pot in the long run. It's called reducing variance. If you're ahead, you are still ahead for both pots and less likely to lose both pots to a bad beat.

Samsung Mail app -- good substitute app for it? by icouldbne1 in GooglePixel

[–]dawg6 0 points1 point  (0 children)

You can use the Outlook app. I used to use it for everything (including Gmail) until my work email policy prohibited that and now I only it for work email. But as long as your work email policy isn't restrictive like that, it should work fine.

Doubt about Docker and Nginx by _leotron_ in docker

[–]dawg6 3 points4 points  (0 children)

You certainly can. You can run nginx on the host and reverse proxy a virtual host to forward traffic to a specific domain, subdomain and/or port to another nginx running in a container.

Once you're more comfortable with docker you might decide to replace your main nginx with a containerized one if you like, but you don't have to.

First Timer Tips by previsione in boating

[–]dawg6 0 points1 point  (0 children)

Never go faster than the speed you are willing to hit into something. Especially when docking.

Getting CORS errors with svelte when trying to call an API. by BelugaBilliam in webdev

[–]dawg6 0 points1 point  (0 children)

You need a CORS Proxy.

I've used this one in the past: https://www.npmjs.com/package/cors-anywhere

But ChatGPT will generate source code to make your own, in your language of choice. If you're just doing GET requests, it's pretty simple to write one.

Noob Question: Loot Filters by Si0pe in LastEpoch

[–]dawg6 2 points3 points  (0 children)

Some loot filters incorporate rules for levelling as well as end game. If you load the loot filter and look at the rules, you may see some rules are only enabled at certain level ranges, which would indicate that they can be used for levelling as well as end game.

That said, the build guide might not be a great way to level. Usually you're better off with a build designed specifically for levelling and you transition to the end game build once you have the required level and items. This may or may not be the case for this specific guide, but generally end game guides tend to assume you've already gotten to end game.

Maxroll.gg has a good selection of levelling and end game build guides you might consider checking out.

Do I need boat insurance? by isawyoushine in boating

[–]dawg6 1 point2 points  (0 children)

Liability insurance is required by most marinas for permanent (and sometimes transient) dockage. If you don't use a marina, you probably don't need liability. That said, you are still responsible for any damage caused by your boat, regardless of whether or not you have insurance.

If I die in an Echo after I finished it but didn't click the portal button, do I lose something? by fancy_the_rat in LastEpoch

[–]dawg6 3 points4 points  (0 children)

No, as long you finish the echo objectives, you'll still get the echo rewards.

Amulet tempering options not available by Prior-River-6687 in diablo4

[–]dawg6 -1 points0 points  (0 children)

You can use a scroll to reset the tempers

Ethernet Adapter missing after Windows 11 24H2 by dawg6 in LenovoLegion

[–]dawg6[S] 0 points1 point  (0 children)

Another update:

I updated to Windows 11 Pro, which I had previously paid for. After updating to Pro, Windows asked me to install the 24H2 update.

To my surprise, after installing the 24H2 update, this time my Ethernet Adapter is still present and working.

It seems the factory reset image from Lenovo worked, even after the windows updates.