ClassCastException in between equal classes Wildfly 10
问题 I am Creating a RESTful application and I am having trouble making a conversion for a new connection. My application server is Wildfly 10.0. DataSource and Driver in standalone-full.xml: <datasource jndi-name="java:jboss/datasources/PostgreDS" pool-name="PostgreDS" enabled="true" use-java-context="true"> <connection-url>jdbc:postgresql://192.168.0.112:5432/bdns</connection-url> <driver>postgresql</driver> <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation> <pool> <min