{"id":2589,"date":"2017-12-09T07:33:38","date_gmt":"2017-12-09T07:33:38","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2589"},"modified":"2020-01-09T07:51:20","modified_gmt":"2020-01-09T07:51:20","slug":"could-not-find-or-load-main-class-net-sourceforge-cobertura-instrument","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/could-not-find-or-load-main-class-net-sourceforge-cobertura-instrument\/","title":{"rendered":"Could not find or load main class net.sourceforge.cobertura.instrument"},"content":{"rendered":"<p><strong>scmuser replied the topic: Could not find or load main class net.sourceforge.cobertura.instrument<\/strong><\/p>\n<p>Still could not resolve the issues as below;<\/p>\n<p>[code language=&#8221;css&#8221;]<br \/>\nC:\\Users\\rkumar11&gt;cd C:\\cobertura<br \/>\n[\/code]<\/p>\n<p>[code language=&#8221;css&#8221;]<br \/>\nC:\\cobertura&gt;cobertura-check.bat<br \/>\nError: Could not find or load main class net.sourceforge.cobertura.check.Main<br \/>\n[\/code]<\/p>\n<p>[code language=&#8221;css&#8221;]<br \/>\nC:\\cobertura&gt;cobertura-check.bat<br \/>\nError: Could not find or load main class net.sourceforge.cobertura.check.Main<br \/>\n[\/code]<\/p>\n<p>[code language=&#8221;css&#8221;]<br \/>\nC:\\cobertura&gt;ls -1<br \/>\n11.txt<br \/>\ncobertura-2.0.3.jar<br \/>\ncobertura-report.sh<br \/>\nEnhancedFor.java<br \/>\ncobertura-check.bat<br \/>\ncoberturaFlush.war<br \/>\nLICENSE.txt<br \/>\ncobertura-check.sh<br \/>\ndatafile<br \/>\nPrimitiveParameters.java<br \/>\ncobertura-instrument.bat<br \/>\nexamples<br \/>\nREADME. markdown<br \/>\ncobertura-instrument. sh<br \/>\ninstrumented<br \/>\nbasedir<br \/>\ncobertura-merge.bat<br \/>\nlib<br \/>\ncobertura-2.0.3-javadoc.jar<br \/>\ncobertura-merge.sh<br \/>\ncobertura-2.0.3-sources.jar<br \/>\ncobertura-report.bat<\/p>\n<p>C:\\cobertura&gt;echo %JAVA_HOME%<br \/>\nC:\\Tools\\Java\\jdk1.7.0_25<br \/>\nC:\\cobertura&gt;echo %JAVA_HOME%<br \/>\nC:\\Tools\\Java\\jdk1.7.0_25<br \/>\n[\/code]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>scmuser replied the topic: Could not find or load main class net.sourceforge.cobertura.instrument Still could not resolve the issues as below; [code language=&#8221;css&#8221;] C:\\Users\\rkumar11&gt;cd C:\\cobertura [\/code] [code language=&#8221;css&#8221;] C:\\cobertura&gt;cobertura-check.bat Error: Could&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[2],"tags":[443],"class_list":["post-2589","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-cobertura"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=2589"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2589\/revisions"}],"predecessor-version":[{"id":2590,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2589\/revisions\/2590"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}