ether-camp / ethereum-harmony

DEPRECATED! Ethereum Independent Peer
GNU General Public License v3.0
253 stars 89 forks source link

problem with unknown error #78

Closed 3Mohammed2013 closed 6 years ago

3Mohammed2013 commented 6 years ago

Task :compileJava /home/rootf/ethereum-harmony/src/main/java/com/ethercamp/harmony/service/ContractsService.java:154: error: method init in interface DbSource cannot be applied to given types; contractsStorage.init(); ^ required: DbSettings found: no arguments reason: actual and formal argument lists differ in length where V is a type-variable: V extends Object declared in interface DbSource /home/rootf/ethereum-harmony/src/main/java/com/ethercamp/harmony/service/ContractsService.java:157: error: method init in interface DbSource cannot be applied to given types; settingsStorage.init(); ^ required: DbSettings found: no arguments reason: actual and formal argument lists differ in length where V is a type-variable: V extends Object declared in interface DbSource /home/rootf/ethereum-harmony/src/main/java/com/ethercamp/harmony/service/ContractsService.java:160: error: method init in interface DbSource cannot be applied to given types; contractCreation.init(); ^ required: DbSettings found: no arguments reason: actual and formal argument lists differ in length where V is a type-variable: V extends Object declared in interface DbSource Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 errors

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. See https://docs.gradle.org/4.6/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4s 1 actionable task: 1 executed

zilm13 commented 6 years ago

@3Mohammed2013 Fixed, thank you for feedback! You may need to clean you cache to make fix available (ethereumj dependency should be redownloaded by gradle)

3Mohammed2013 commented 6 years ago

./gradlew cleanBuildCache I was use this comment but it not works probably ,

zilm13 commented 6 years ago

You'd better remove its directory: rm -rf $HOME/.gradle/caches/, it's a been too "smart" on resolving updates

3Mohammed2013 commented 6 years ago

i was use those comment which it same like this comment "rm -rf $HOME/.gradle/caches/" cd ~/.gradle rm -rf caches/

it works know really thanks i have question can i implemented the access control in harmony

zilm13 commented 6 years ago

@3Mohammed2013

i have question can i implemented the access control in harmony

We want this as feature, but not yet ready, even not started. I guess the simplest way is to put Harmony behind proxy, such as nginx and use simple htaccess

zilm13 commented 6 years ago

@3Mohammed2013 Made an issue https://github.com/ether-camp/ethereum-harmony/issues/79 not to forget. But I cannot give any schedule estimate for it.