mondrian java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/foodmart
来源:互联网 发布:pokemon go 辅助软件 编辑:程序博客网 时间:2024/05/17 02:12
java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/foodmart
一定要注意下面的连接JDBC 驱动包
java -cp D:\tomcat6\apache-tomcat-6.0.32\mondrain\lib\mondrian.jar;D:\tomcat6\apache-tomcat-6.0.32\mondrain\lib\log4j-1.2.8.jar;D:\tomcat6\apache-tomcat-6.0.32\mondrain\lib\commons-logging-1.0.4.jar;D:\tomcat6\apache-tomcat-6.0.32\mondrain\lib\eigenbase-xom.jar;D:\tomcat6\apache-tomcat-6.0.32\mondrain\lib\eigenbase-resgen.jar;D:\tomcat6\apache-tomcat-6.0.32\mondrain\lib\eigenbase-properties.jar;D:\tomcat6\apache-tomcat-6.0.32\mondrain\lib\mysql-connector-java-5.1.27-bin.jar;D:\tomcat6\apache-tomcat-6.0.32\mondrain\lib\olap4j.jar mondrian.test.loader.MondrianFoodMartLoader -tables -data -indexes -jdbcDrivers="com.mysql.jdbc.Driver,org.gjt.mm.mysql.Driver" -inputFile=D:\tomcat6\apache-tomcat-6.0.32\mondrain\FoodMartCreateData.sql -outputJdbcURL="jdbc:mysql://localhost:3306/foodmart" -outputJdbcUser=foodmart -outputJdbcPassword=foodmart
---------------------------------------------------------------
2.新建系统变量JAVA_HOME 和CLASSPATH 变量名:
JAVA_HOME 变量值:C:\Program Files\Java\jdk1.7.0
变量名:CLASSPATH 变量值:.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
3. 选择“系统变量”中变量名为“Path”的环境变量,双击该变量,把JDK安装路径中bin目录的绝对路径,添加到Path变量的值中,并使用半角的分号和已有的路径进行分隔。
变量名:Path 变量值:%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
也可以直接在TOMCAT下面的D:\tomcat6\apache-tomcat-6.0.32\bin\catalina.bat
SET JAVA_HOME=D:\Java\jdk1.6.0_10
SET Path=%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
SET CLASSPATH=.;%JAVA_HOME%lib;%JAVA_HOME%lib\tools.jar
--------------------------------------------------------------
- mondrian java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/foodmart
- java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/airline
- java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/
- java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/
- java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/
- android studio下解决 java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/
- java.sql.SQLException: No suitable driver found for jdbc:mysql:/localhost/XXX?还是没有解决
- java.sql.SQLException: No suitable driver found for jdbc:mysql
- java.sql.SQLException: No suitable driver found for jdbc:mysql
- 调试经验-java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@localhost:1521:orcl
- java.sql.SQLException: No suitable driver found for jdbc:sqlserver://localhost:1433;databaseName
- java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@localhost:1521:ORCL
- java.sql.SQLException: No suitable driver found for jdbc:derby
- SQLException:No suitable driver found for jdbc:myqsl://localhost/......
- java.sql.SQLException:No suitable driver found for http://localhost:3306/school
- Jmeter java.sql.SQLException: No suitable driver found for jdbc:mysql:
- No suitable driver found for jdbc:mysql://localhost:3306/ 问题
- No suitable driver found for jdbc:mysql://localhost:3306/stu_mis
- 高性能 JavaScript 编程 读书笔记
- 移植于电脑圈圈的fsmc_nand代码
- [原][译][转]Floyd算法(待续)
- 基于visual Studio2013解决面试题之0802数字最多元素
- STM32 USB NAND Flash模拟U盘无法格式化问题的解决
- mondrian java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/foodmart
- layout_weight 详解
- Asp.net页面常用处理解决方法
- STM32 USB SD卡读卡器和NAND FLASH模拟U盘
- 关于ASSERT(断言)使用的规则--摘自《高质量C/C++编程指南》
- STM32 USB SD读卡器(SDIO)
- Cocos2dx在helloCpp加入Cocosdenshion时出现了 Undefined symbols for architecture i386
- 大病一场,终于回北京了。
- UTF-8汉字编码16进制对照---转载