ethereumj.starter's People
Forkers
skydogch gtostock a-joshi hyperspacechain casualuser friends110110 ingaugetrader socube mischka41 ethereumex tspannhw mlbit concrain kivancekici leebing walden1993 amozon temperrain virtigex sbalcin lospejos irfaankhalid rue-foundation lynnyuue sunqitao destenson gkzhong cyberh84 basquiat78 manochitra wpeiguang leerising zhouzhonghui toryzhou modeneis httpmad pchaozhong orangejyc sylarjyd macrotea peizihui shakibaei65ethereumj.starter's Issues
gradlew run compilation error in ethereumBean::start
The execution of "./gradlew run" returns a compilation error:
$ ./gradlew run --stacktrace
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
:compileJava
/home/skydog/ethereumj.starter/src/main/java/com/ethercamp/starter/Config.java:16: error: ')' expected
submit(ethereumBean::start);
^
/home/skydog/ethereumj.starter/src/main/java/com/ethercamp/starter/Config.java:16: error: illegal start of expression
submit(ethereumBean::start);
^
/home/skydog/ethereumj.starter/src/main/java/com/ethercamp/starter/Config.java:16: error: ';' expected
submit(ethereumBean::start);
^
3 errors
:compileJava FAILED
FAILURE: Build failed with an exception.
-
What went wrong:
Execution failed for task ':compileJava'.Compilation failed; see the compiler error output for details.
-
Try:
Run with --info or --debug option to get more log output. -
Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compileJava'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:305)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88)
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.Main.doAction(Main.java:33)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:56)
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:44)
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:35)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:97)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:50)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:36)
at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:34)
at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:158)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:138)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:92)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:235)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:222)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
... 47 more
BUILD FAILED
Total time: 2.809 secs
gradlew run error
12:29:40.936 [INFO] [org.gradle.api.internal.tasks.compile.JdkJavaCompiler] Compiling with JDK Java compiler API.
12:29:41.005 [ERROR] [system.err] /home/kenneth/Projects/ethereumj.starter/src/main/java/com/ethercamp/starter/ethereum/EthereumListener.java:38: error: method does not override or implement a method from a supertype
12:29:41.010 [ERROR] [system.err] @OverRide
12:29:41.011 [ERROR] [system.err] ^
12:29:41.017 [ERROR] [system.err] 1 error
12:29:41.023 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':compileJava'
12:29:41.024 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :compileJava FAILED
12:29:41.024 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :compileJava (Thread[Daemon worker Thread 4,5,main]) completed. Took 0.771 secs.
12:29:41.024 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[Daemon worker Thread 4,5,main]] finished, busy: 0.771 secs, idle: 0.001 secs
12:29:41.025 [ERROR] [org.gradle.BuildExceptionReporter]
12:29:41.026 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
12:29:41.026 [ERROR] [org.gradle.BuildExceptionReporter]
12:29:41.026 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
12:29:41.026 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':compileJava'.
12:29:41.027 [ERROR] [org.gradle.BuildExceptionReporter] > Compilation failed; see the compiler error output for details.
12:29:41.027 [ERROR] [org.gradle.BuildExceptionReporter]
12:29:41.027 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
12:29:41.028 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.
12:29:41.028 [LIFECYCLE] [org.gradle.BuildResultLogger]
12:29:41.029 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
12:29:41.029 [LIFECYCLE] [org.gradle.BuildResultLogger]
12:29:41.029 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 1.514 secs
12:29:41.030 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileHashes.bin (/home/kenneth/Projects/ethereumj.starter/.gradle/2.2.1/taskArtifacts/fileHashes.bin)
12:29:41.030 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on task history cache (/home/kenneth/Projects/ethereumj.starter/.gradle/2.2.1/taskArtifacts).
12:29:41.031 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-metadata.bin (/home/kenneth/.gradle/caches/modules-2/metadata-2.14/module-metadata.bin)
12:29:41.031 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-versions.bin (/home/kenneth/.gradle/caches/modules-2/metadata-2.14/module-versions.bin)
12:29:41.031 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-repository.bin (/home/kenneth/.gradle/caches/modules-2/metadata-2.14/artifact-at-repository.bin
Compile Error in EthereumListener
Compile error in EthereumListener class due to the updated version in gradle.build
.
/**
* Mark the fact that you are touching
* the head of the chain
*/
@Override
public void onSyncDone() {
System.out.println(" ** SYNC DONE ** ");
syncDone = true;
}
onSyncDone()
now requires SyncState state
to be passed as param.
Should be:
@Override
public void onSyncDone(SyncState state) {
}
Importing this with a gradle project with eclipse kepler
what is the difference betwenn ethereumj and ethereumj .starter?
and how can i import this with eclipse kepler ?
How long does it takes to sync the ethereum blockchain? For me, its going forever. Could you please let me know if that is an issue or it is supposed to work in that way? Thanks.
Error while running ./gradlew run
Hi,
I attempted to run ./gradlew run
and ran into the following issue:
$ ./gradlew run
FAILURE: Build failed with an exception.
* What went wrong:
Failed to capture snapshot of input files for task ':compileJava' property 'classpath' during up-to-date check.
> java.lang.UnsupportedOperationException (no error message)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 6s
1 actionable task: 1 executed
This is after I updated the version of Gradle listed in the .properties
file (see my pull request here.
The output isn't too verbose here - any ideas?
Thanks.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.