Same error following the
example. I think the problem is that Glassfish is not deploying the driver.
It doesn't appear Deploying driver in my console. I put the jar file in the same location. I also in the project's lib folder. Restarted the server but it didn't work.
Please. Someone help us.
My output:
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
Copying 1 file to /home/leandro/NetBeansProjects/AffableBean/build/web/WEB-INF/lib
library-inclusion-in-manifest:
compile:
compile-jsps:
Created dir: /home/leandro/NetBeansProjects/AffableBean/build/generated/src
Created dir: /home/leandro/NetBeansProjects/AffableBean/build/generated/classes
Compiling 1 source file to /home/leandro/NetBeansProjects/AffableBean/build/generated/classes
Starting GlassFish Server 3.x
GlassFish Server 3.x is running.
Incrementally deploying AffableBean
Completed incremental distribution of AffableBean
Incrementally redeploying AffableBean
Initializing...
run-deploy:
Browsing:
http://localhost:8080/AffableBean/faces/test/testDataSource.jsp
run-display-browser:
run:
BUILD SUCCESSFUL (total time: 40 seconds)