Vairamuthu created PHOENIX-5525:
-----------------------------------
Summary: Apache Phoenix compatibility with Java 11(Open JDK)
Key: PHOENIX-5525
URL: https://issues.apache.org/jira/browse/PHOENIX-5525
Project: Phoenix
Issue Type: Bug
Affects Versions: 5.0.0
Environment: We are using Red hat server, Apache Phoenix is 5.0 and
HBase is 2.0.2 and below jar in our application pom
<dependency> <groupId>org.apache.phoenix</groupId>
<artifactId>phoenix-core</artifactId>
<version>5.0.0-HBase-2.0</version></dependency>
Reporter: Vairamuthu
Attachments: Apache_phoenix_logs.txt
Is Apache Phoenix compatible with Java 11(Open JDK)? When we are starting our
application service we could see the below error in case of JDK11, which is not
occuring in JDK 8.
*2019-10-11 08:27:11.376 WARN [AnalyticsPlanService,,,] 1524 --- [ main]
ConfigServletWebServerApplicationContext : Exception encountered during context
initialization - cancelling refresh attempt:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'phoenixEntityManager' defined in class path resource
[com/tcs/opt/analytics/analyticsplanservice/config/PhoenixDataSource.class]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested service
[org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]*
*Caused by:
org.hibernate.boot.registry.selector.spi.StrategySelectionException: Unable to
resolve name [com.ruesga.phoenix.dialect.PhoenixDialect] as strategy
[org.hibernate.dialect.Dialect]*
Full application log is attached in the ticket.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)