Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.ClassNotFoundException #1

Open
gwenxia opened this issue Nov 8, 2017 · 1 comment
Open

java.lang.ClassNotFoundException #1

gwenxia opened this issue Nov 8, 2017 · 1 comment

Comments

@gwenxia
Copy link

gwenxia commented Nov 8, 2017

[root@vmaxdap bestconf-master]# pwd
/home/performance/bestconf-master
[root@vmaxdap bestconf-master]# ll
total 40
drwxr-xr-x 4 root root 4096 Feb 15 2017 bestconfs
drwxr-xr-x 4 root root 4096 Nov 8 10:12 data
drwxr-xr-x 6 root root 4096 Feb 15 2017 deploy
-rw-r--r-- 1 root root 2975 Feb 15 2017 hadoop.md
drwxr-xr-x 2 root root 4096 Feb 15 2017 lib
drwxr-xr-x 2 root root 4096 Feb 15 2017 pics
-rw-r--r-- 1 root root 1821 Feb 15 2017 README.md
drwxr-xr-x 6 root root 4096 Feb 15 2017 scripts
-rw-r--r-- 1 root root 2712 Feb 15 2017 spark.md
drwxr-xr-x 8 root root 4096 Feb 15 2017 src
[root@vmaxdap bestconf-master]# sh ./deploy/bin/start.sh
/usr/java/jdk
java.lang.ClassNotFoundException: cn.ict.zyq.bestConf.cluster.InterfaceImpl.TomcatConfigReadin
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at cn.ict.zyq.bestConf.cluster.Main.AutoTestAdjust.(AutoTestAdjust.java:83)
at cn.ict.zyq.bestConf.bestConf.BestConf.(BestConf.java:83)
at cn.ict.zyq.bestConf.bestConf.BestConf.startOneTest(BestConf.java:297)
at cn.ict.zyq.bestConf.bestConf.BestConf.main(BestConf.java:293)

Header of dataset:

@relation InitialSetByLHS

@Attribute executorTerminationTimeoutMillis numeric
@Attribute maxConnections numeric
@Attribute maxKeepAliveRequests numeric
@Attribute connectionTimeout numeric
@Attribute acceptorThreadCount numeric
@Attribute minSpareThreads numeric
@Attribute asyncTimeout numeric
@Attribute socketBuffer numeric
@Attribute maxThreads numeric
@Attribute acceptCount numeric
@Attribute processorCache numeric
@Attribute keepAliveTimeout numeric

@DaTa

Total number of collected performances is : 0
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:635)

@zhuyuqing
Copy link
Owner

"java.lang.ClassNotFoundException: cn.ict.zyq.bestConf.cluster.InterfaceImpl.TomcatConfigReadin"
You are not having the class codes "TomcatConfigReadin" in your sources

Please follow the steps on https://github.com/zhuyuqing/bestconf/blob/master/doc/QuickStart.md

@zhuyuqing zhuyuqing changed the title throw exception IndexOutOfBoundsException when running start.sh script java.lang.ClassNotFoundException Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants