Hi, I am getting an error when I use "gradlew build"


(Gerolamo Zanchi) #1

Hi all,

Thank to anyone reading this. Your help will be appreciated. So I am making a server in my house for fun and I am following this guide

https://bitbucket.org/l2jserver/l2j_server/wiki/Home

but I am stuck at

Compile the files
To compile the server files go to l2j\l2j_datapack and run gradle wrapper.

gero@4790k:/l2/l2j_datapack$ sudo ./gradlew build
[sudo] password for gero:
Build in build/distributions/L2J_DataPack_2017-10-30.zip

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not resolve all dependencies for configuration ‘:compileClasspath’.

Project : declares a dependency from configuration ‘compile’ to configuration ‘default’ which is not declared in the descriptor for project :L2J_Server.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 0.444 secs

gero@4790k:/l2/l2j_datapack$ sudo ./gradlew build --stacktrace
Build in build/distributions/L2J_DataPack_2017-10-30.zip

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not resolve all dependencies for configuration ‘:compileClasspath’.

Project : declares a dependency from configuration ‘compile’ to configuration ‘default’ which is not declared in the descriptor for project :L2J_Server.

  • Try:
    Run with --info or --debug option to get more log output.

  • Exception is:
    org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ‘:compileClasspath’.
    at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.wrapException(ErrorHandlingConfigurationResolver.java:97)
    at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolveBuildDependencies(ErrorHandlingConfigurationResolver.java:58)
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationTaskDependency.visitDependencies(DefaultConfiguration.java:1089)
    at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext$TaskGraphImpl.getNodeValues(CachingTaskDependencyResolveContext.java:88)
    at org.gradle.internal.graph.CachingDirectedGraphWalker$GraphWithEmpyEdges.getNodeValues(CachingDirectedGraphWalker.java:202)
    at org.gradle.internal.graph.CachingDirectedGraphWalker.doSearch(CachingDirectedGraphWalker.java:112)
    at org.gradle.internal.graph.CachingDirectedGraphWalker.findValues(CachingDirectedGraphWalker.java:64)
    at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.doResolve(CachingTaskDependencyResolveContext.java:76)
    at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.resolve(CachingTaskDependencyResolveContext.java:65)
    at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.getDependencies(CachingTaskDependencyResolveContext.java:55)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.addToTaskGraph(DefaultTaskExecutionPlan.java:139)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.addTasks(DefaultTaskGraphExecuter.java:101)
    at org.gradle.execution.TaskNameResolvingBuildConfigurationAction.configure(TaskNameResolvingBuildConfigurationAction.java:47)
    at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
    at org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$000(DefaultBuildConfigurationActionExecuter.java:25)
    at org.gradle.execution.DefaultBuildConfigurationActionExecuter$1.proceed(DefaultBuildConfigurationActionExecuter.java:54)
    at org.gradle.execution.DefaultTasksBuildExecutionAction.configure(DefaultTasksBuildExecutionAction.java:44)
    at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
    at org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$000(DefaultBuildConfigurationActionExecuter.java:25)
    at org.gradle.execution.DefaultBuildConfigurationActionExecuter$1.proceed(DefaultBuildConfigurationActionExecuter.java:54)
    at org.gradle.execution.ExcludedTaskFilteringBuildConfigurationAction.configure(ExcludedTaskFilteringBuildConfigurationAction.java:47)
    at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
    at org.gradle.execution.DefaultBuildConfigurationActionExecuter.select(DefaultBuildConfigurationActionExecuter.java:36)
    at org.gradle.initialization.DefaultGradleLauncher$CalculateTaskGraphAction.execute(DefaultGradleLauncher.java:220)
    at org.gradle.initialization.DefaultGradleLauncher$CalculateTaskGraphAction.execute(DefaultGradleLauncher.java:217)
    at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)
    at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:158)
    at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112)
    at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:95)
    at org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:66)
    at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)
    at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:49)
    at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:31)
    at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
    at org.gradle.util.Swapper.swap(Swapper.java:38)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
    at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
    at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:46)
    Caused by: org.gradle.internal.component.model.ConfigurationNotFoundException: Project : declares a dependency from configuration ‘compile’ to configuration ‘default’ which is not declared in the descriptor for project :L2J_Server.
    at org.gradle.internal.component.model.LocalComponentDependencyMetadata.selectConfigurations(LocalComponentDependencyMetadata.java:124)
    at org.gradle.internal.component.local.model.DslOriginDependencyMetadataWrapper.selectConfigurations(DslOriginDependencyMetadataWrapper.java:65)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.calculateTargetConfigurations(DependencyGraphBuilder.java:303)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.attachToTargetConfigurations(DependencyGraphBuilder.java:270)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.traverseGraph(DependencyGraphBuilder.java:167)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.resolve(DependencyGraphBuilder.java:104)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver.resolve(DefaultArtifactDependencyResolver.java:92)
    at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver$1.run(CacheLockingArtifactDependencyResolver.java:45)
    at org.gradle.internal.Factories$1.create(Factories.java:25)
    at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:189)
    at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:175)
    at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:134)
    at org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache.useCache(DefaultCacheFactory.java:199)
    at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManager.useCache(DefaultCacheLockingManager.java:65)
    at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver.resolve(CacheLockingArtifactDependencyResolver.java:43)
    at org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationResolver.resolveBuildDependencies(DefaultConfigurationResolver.java:108)
    at org.gradle.api.internal.artifacts.ivyservice.ShortCircuitEmptyConfigurationResolver.resolveBuildDependencies(ShortCircuitEmptyConfigurationResolver.java:65)
    at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolveBuildDependencies(ErrorHandlingConfigurationResolver.java:56)
    … 64 more

BUILD FAILED

Total time: 0.486 secs


(James Justinic) #2

It seems most likely that you didn’t do exactly what the L2J Server developers expect and are having a problem with the way they are using Gradle, not Gradle itself.

Based on a quick glance of this project and your post, you choose to put l2j_datapack in /l2, which means you need exactly these two folders to exist with a clone of the respective git repository mentioned in the guide:

/l2/l2j_datapack
/l2/l2j_server

If you don’t have l2j_server in that exact location, you don’t have what the L2J Server developers chosen to require in their usage of Gradle.


(Gerolamo Zanchi) #3

/l2/l2j_datapack
/l2/l2j_server

are in the same directory


(Gerolamo Zanchi) #4

Well looks like it was the name L2J_Server it has to be in caps some parts but now I have another mistake.

gero@4790k:/l2j/l2j_datapack$ sudo ./gradlew build --stacktrace
Build in build/distributions/L2J_DataPack_2017-10-31.zip
Build in build/distributions/L2J_Server_2017-10-31.zip
:L2J_Server:compileJava
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:519: error: unmappable character for encoding ASCII
* Message: Your title cannot exceed 16 characters in length.?? Please try again.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:519: error: unmappable character for encoding ASCII
* Message: Your title cannot exceed 16 characters in length.?? Please try again.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:603: error: unmappable character for encoding ASCII
* Message: 2004-2011 ?? NC Interactive, Inc. All Rights Reserved.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:603: error: unmappable character for encoding ASCII
* Message: 2004-2011 ?? NC Interactive, Inc. All Rights Reserved.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:699: error: unmappable character for encoding ASCII
* Message: $s1???s effect can be felt.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:699: error: unmappable character for encoding ASCII
* Message: $s1???s effect can be felt.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:699: error: unmappable character for encoding ASCII
* Message: $s1???s effect can be felt.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:3135: error: unmappable character for encoding ASCII
* Message: Summoning your pet???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:3135: error: unmappable character for encoding ASCII
* Message: Summoning your pet???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:3135: error: unmappable character for encoding ASCII
* Message: Summoning your pet???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6237: error: unmappable character for encoding ASCII
* Message: ??The target is currently banned from chatting.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6237: error: unmappable character for encoding ASCII
* Message: ??The target is currently banned from chatting.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6255: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type A? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6255: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type A? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6255: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type A? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6333: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type B? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6333: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type B? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6333: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type B? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6339: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type C? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6339: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type C? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6339: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type C? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6345: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type D? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6345: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type D? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6345: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type D? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6351: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type E? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6351: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type E? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6351: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type E? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6357: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type F? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6357: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type F? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6357: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type F? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6363: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type G? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6363: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type G? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6363: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type G? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9413: error: unmappable character for encoding ASCII
* Message: War has already been declared against that clan??? but I’ll make note that you really don’t like them.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9413: error: unmappable character for encoding ASCII
* Message: War has already been declared against that clan??? but I’ll make note that you really don’t like them.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9413: error: unmappable character for encoding ASCII
* Message: War has already been declared against that clan??? but I’ll make note that you really don’t like them.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9497: error: unmappable character for encoding ASCII
* Message: Make haste! We will be departing for Gludin Harbor shortly???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9497: error: unmappable character for encoding ASCII
* Message: Make haste! We will be departing for Gludin Harbor shortly???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9497: error: unmappable character for encoding ASCII
* Message: Make haste! We will be departing for Gludin Harbor shortly???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9527: error: unmappable character for encoding ASCII
* Message: Make haste! We will be departing for Gludin Harbor shortly???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9527: error: unmappable character for encoding ASCII
* Message: Make haste! We will be departing for Gludin Harbor shortly???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9527: error: unmappable character for encoding ASCII
* Message: Make haste! We will be departing for Gludin Harbor shortly???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11947: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to drop items and/or Adena. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11947: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to drop items and/or Adena. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11947: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to drop items and/or Adena. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11953: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to trade items and/or Adena. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11953: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to trade items and/or Adena. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11953: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to trade items and/or Adena. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11965: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to setup private stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11965: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to setup private stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11965: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to setup private stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11983: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to set up private manufacturing stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11983: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to set up private manufacturing stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11983: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to set up private manufacturing stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11983: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to set up private manufacturing stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11983: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to set up private manufacturing stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11989: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to use private manufacturing stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11989: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to use private manufacturing stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11989: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to use private manufacturing stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11989: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to use private manufacturing stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11989: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to use private manufacturing stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11989: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to use private manufacturing stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11989: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to use private manufacturing stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11995: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed buy items from private stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11995: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed buy items from private stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11995: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed buy items from private stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11995: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed buy items from private stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11995: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed buy items from private stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11995: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed buy items from private stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11995: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed buy items from private stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:12001: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to access clan warehouses.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:12001: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to access clan warehouses.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:12001: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to access clan warehouses.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:12001: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to access clan warehouses.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:12001: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to access clan warehouses.??To unlock all of the features of Lineage II, purchase the full version today.
^
:L2J_Server:processResources NO-SOURCE
:L2J_Server:classes
:L2J_Server:jar
:compileJava NO-SOURCE
:processResources NO-SOURCE
:classes UP-TO-DATE
:jar
:assemble
:compileTestJava NO-SOURCE
:processTestResources NO-SOURCE
:testClasses UP-TO-DATE
:test NO-SOURCE
:check UP-TO-DATE
:build
:zip
:L2J_Server:configuratorJar
:L2J_Server:dbInstGsJar
:L2J_Server:dbInstLsJar
:L2J_Server:distTar NO-SOURCE
:L2J_Server:distZip NO-SOURCE
:L2J_Server:loginJar
:L2J_Server:assemble
:L2J_Server:compileTestJava
:L2J_Server:processTestResources NO-SOURCE
:L2J_Server:testClasses
:L2J_Server:test
:L2J_Server:check
:L2J_Server:build
:L2J_Server:zip

BUILD SUCCESSFUL

Total time: 17.072 secs


(James Justinic) #5

You must be on a platform with a case-sensitive file system and the default encoding set to ASCII. The developers of that project have not written their build scripts to work well (or at all) if your system varies from their defaults.

Adding the following to the L2J_Server build.gradle should address the error:

tasks.withType(JavaCompile) {
    options.encoding = 'UTF-8'
}

However, you shouldn’t really have to do this as an end-user of the project. It would be better if the project’s maintainer fixed the issues with it, asking questions in the forums, if necessary.


(Gerolamo Zanchi) #6

You are the Bomb, thanks man!


(Gerolamo Zanchi) #7

well, here I come back with another issue.

gero@4790k:/l2j/l2j_datapack$ sudo ./gradlew build
Build in build/distributions/L2J_DataPack_2017-10-31.zip
Build in build/distributions/L2J_Server_2017-10-31.zip
:L2J_Server:compileJava UP-TO-DATE
:L2J_Server:processResources NO-SOURCE
:L2J_Server:classes UP-TO-DATE
:L2J_Server:jar
:compileJava NO-SOURCE
:processResources NO-SOURCE
:classes UP-TO-DATE
:jar UP-TO-DATE
:assemble UP-TO-DATE
:compileTestJava NO-SOURCE
:processTestResources NO-SOURCE
:testClasses UP-TO-DATE
:test NO-SOURCE
:check UP-TO-DATE
:build UP-TO-DATE
:zip UP-TO-DATE
:L2J_Server:configuratorJar
:L2J_Server:dbInstGsJar
:L2J_Server:dbInstLsJar
:L2J_Server:distTar NO-SOURCE
:L2J_Server:distZip NO-SOURCE
:L2J_Server:loginJar
:L2J_Server:assemble
:L2J_Server:compileTestJava UP-TO-DATE
:L2J_Server:processTestResources NO-SOURCE
:L2J_Server:testClasses UP-TO-DATE
:L2J_Server:test UP-TO-DATE
:L2J_Server:check UP-TO-DATE
:L2J_Server:build
:L2J_Server:zip

BUILD SUCCESSFUL

Total time: 1.53 secs

At some levels it says NO-SOURCE. I believe this is related to the case sensitive issue because I am using linux instead of windows. Buy I am not sure how to fix it. :confused:


(James Justinic) #8

It is perfectly normal to have tasks that have NO-SOURCE. Applying a plugin can add many tasks that may be needed in a certain type of project, but a specific project often only needs a subset of them.

The example output from the guide you’re using appears to be from a version of Gradle before NO-SOURCE was stated separately from UP-TO-DATE. The result is the same, but the output text doesn’t match exactly.

That said, this project applies unnecessary plugins. The developers could remove some of these to reduce the number of tasks that exist with NO-SOURCE.


(Gerolamo Zanchi) #9

thank you for your answer.