Hello,
Upgrading commons-text to 1.11.0, I get now this error
SEVERE: Servlet.service() for servlet [PageServlet] threw exception
java.lang.NoSuchMethodError: 'org.apache.commons.lang3.Range
org.apache.commons.lang3.Range.of(java.lang.Comparable,
java.lang.Comparable)'
at
org.apache
26, 2023, 5:00 AM Greg Huber wrote:
If I am understanding this correctly, I replace
jakarta.transaction
jakarta.transaction-api
1.3.1
with
org.apache.geronimo.specs
geronimo-jta_1.1_spec
1.1.1
true
in the source of 2.10.0 pom.x
imo-jta_1.1_spec
1.1.1
true
Then recompile DBCP from 2.10 sources and test (just use mvn clean package
from the root of an extract of the source distribution).
Phil
On Mon, Sep 25, 2023 at 12:44 AM Greg Huber wrote:
>> does your code maybe bring in the 2.0 jakarta spe
te:
On Sun, Sep 24, 2023 at 10:28 AM Greg Huber wrote:
Forgot to add, I use hibernate 6.
I suspect this is a side effect of the change to use the jakarta spec jar
In 2.10, we have
jakarta.transaction
jakarta.transaction-api
1.3.1
vs
org.apache.geronimo.specs
Forgot to add, I use hibernate 6.
Cheers.
On Sun, 24 Sept 2023 at 12:49, Gary Gregory wrote:
> What else has changed in your app?
>
> Gary
>
> On Sun, Sep 24, 2023 at 5:13 AM Greg Huber wrote:
> >
> > Hello,
> >
> > On upgrading from 2.9.0 I get
> What else has changed in your app?
Nothing, if I go back to 2.9.0 it works.
On Sun, 24 Sept 2023 at 12:49, Gary Gregory wrote:
> What else has changed in your app?
>
> Gary
>
> On Sun, Sep 24, 2023 at 5:13 AM Greg Huber wrote:
> >
> > Hello,
> >
&g
Hello,
On upgrading from 2.9.0 I get this message and my class won't compile.
I get this error
The type jakarta.transaction.Synchronization cannot be resolved. It is
indirectly referenced from required type
org.hibernate.context.internal.ThreadLocalSessionContext.CleanupSync
I am on :
open
I find org.springframework.context.ApplicationContextInitializer useful
on startup, ie setting profiles etc. Maybe worth a look.
public class MyApplicationContextInitializer implements
ApplicationContextInitializer {
public void initialize(ConfigurableApplicationContext
applicationContext)
Hello,
Noticed that commons-validator uses commons-beanutils 1.9.2, there is 1.9.3
available without the vulnerable commons-collections 3.2.1. Although
commons-validator uses commons-collections 3.2.2 (overrides the 3.2.1). I
still get the commons-beanutils 1.9.2.
Will commons-validator be upda
Hello,
How would I use org.apache.commons.text.RandomStringGenerator to replace
the RandomStringUtils alpha numeric number?
String text = RandomStringUtils.randomAlphanumeric(num);
The docs only show how to use a-z :
RandomStringGenerator generator = new
RandomStringGenerator.B
10 matches
Mail list logo