{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoinj/bitcoinj/issues/1467","repository_url":"https://api.github.com/repos/bitcoinj/bitcoinj","labels_url":"https://api.github.com/repos/bitcoinj/bitcoinj/issues/1467/labels{/name}","comments_url":"https://api.github.com/repos/bitcoinj/bitcoinj/issues/1467/comments","events_url":"https://api.github.com/repos/bitcoinj/bitcoinj/issues/1467/events","html_url":"https://github.com/bitcoinj/bitcoinj/issues/1467","id":265253266,"number":1467,"title":"Running ForwardingService with \"testnet\" giving error","user":{"login":"vineettyagi28","id":19969869,"avatar_url":"https://avatars2.githubusercontent.com/u/19969869?v=4","gravatar_id":"","url":"https://api.github.com/users/vineettyagi28","html_url":"https://github.com/vineettyagi28","followers_url":"https://api.github.com/users/vineettyagi28/followers","following_url":"https://api.github.com/users/vineettyagi28/following{/other_user}","gists_url":"https://api.github.com/users/vineettyagi28/gists{/gist_id}","starred_url":"https://api.github.com/users/vineettyagi28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vineettyagi28/subscriptions","organizations_url":"https://api.github.com/users/vineettyagi28/orgs","repos_url":"https://api.github.com/users/vineettyagi28/repos","events_url":"https://api.github.com/users/vineettyagi28/events{/privacy}","received_events_url":"https://api.github.com/users/vineettyagi28/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-13T11:11:19Z","updated_at":"2017-10-13T12:26:05Z","closed_at":null,"author_association":"NONE","body":"_> Exception in thread \"main\" java.lang.NoClassDefFoundError: org/spongycastle/asn1/ASN1Encodable\r\n> \tat org.bitcoinj.core.Block.<clinit>(Block.java:896)\r\n> \tat org.bitcoinj.core.NetworkParameters.createGenesis(NetworkParameters.java:116)\r\n> \tat org.bitcoinj.core.NetworkParameters.<init>(NetworkParameters.java:112)\r\n> \tat org.bitcoinj.params.AbstractBitcoinNetParams.<init>(AbstractBitcoinNetParams.java:52)\r\n> \tat org.bitcoinj.params.MainNetParams.<init>(MainNetParams.java:36)\r\n> \tat org.bitcoinj.params.MainNetParams.get(MainNetParams.java:138)\r\n> \tat com.scopeweaver.scopebit.ForwardingService.main(ForwardingService.java:71)\r\n> Caused by: java.lang.ClassNotFoundException: org.spongycastle.asn1.ASN1Encodable\r\n> \tat java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n> \tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n> \tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)\r\n> \tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n> \t... 7 more_\r\n\r\n\r\nWhen trying to run ForwardingService from examples, above mentioned error is coming."},"comment":{"url":"https://api.github.com/repos/bitcoinj/bitcoinj/issues/comments/336438324","html_url":"https://github.com/bitcoinj/bitcoinj/issues/1467#issuecomment-336438324","issue_url":"https://api.github.com/repos/bitcoinj/bitcoinj/issues/1467","id":336438324,"user":{"login":"vineettyagi28","id":19969869,"avatar_url":"https://avatars2.githubusercontent.com/u/19969869?v=4","gravatar_id":"","url":"https://api.github.com/users/vineettyagi28","html_url":"https://github.com/vineettyagi28","followers_url":"https://api.github.com/users/vineettyagi28/followers","following_url":"https://api.github.com/users/vineettyagi28/following{/other_user}","gists_url":"https://api.github.com/users/vineettyagi28/gists{/gist_id}","starred_url":"https://api.github.com/users/vineettyagi28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vineettyagi28/subscriptions","organizations_url":"https://api.github.com/users/vineettyagi28/orgs","repos_url":"https://api.github.com/users/vineettyagi28/repos","events_url":"https://api.github.com/users/vineettyagi28/events{/privacy}","received_events_url":"https://api.github.com/users/vineettyagi28/received_events","type":"User","site_admin":false},"created_at":"2017-10-13T12:26:05Z","updated_at":"2017-10-13T12:26:05Z","author_association":"NONE","body":"If anyone else is having the same issue, you will have to include updated spongycastle dependency in your pom.xml\r\n\r\n             `</dependency>\r\n\t\t\t<dependency>\r\n\t\t\t<groupId>com.madgag.spongycastle</groupId>\r\n\t\t\t<artifactId>core</artifactId>\r\n\t\t\t<version>1.58.0.0</version>\r\n\t\t</dependency>`\r\n\r\nSpongy castle project has been completely updated which broke many projects depend on it. "}}
{"actor":{"display_login":"vineettyagi28"}}