Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local server doesn't work #16

Open
ghost opened this issue Nov 8, 2020 · 0 comments
Open

Local server doesn't work #16

ghost opened this issue Nov 8, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 8, 2020

Hi team, not sure about right place for report this issues but looks like here. Sorry if mistaken.

Just look around possibilities of this platform and want to make custom template for customer.
just installed server and throw error

Platform: win10
Possibly it can be policy rules but looks like on another machine the same issue..

off
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/temp/template/node_modules/@squarespace/server/build/distributions/local-developer/lib/logback-classic-1.1.3.jar!/org/slf4j/impl/StaticLoggerBinder.c
lass]
SLF4J: Found binding in [jar:file:/D:/temp/template/node_modules/@squarespace/server/build/distributions/local-developer/lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.c
lass]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
02:39:20,867 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
02:39:20,867 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
02:39:20,868 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/D:/temp/template/node_modules/@squarespace/server/build/distributions/loc
al-developer/lib/local-developer.jar!/logback.xml]
02:39:20,868 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
02:39:20,868 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/D:/temp/template/node_modules/@squarespace/server/build/distributions/lo
cal-developer/lib/local-developer.jar!/logback.xml]
02:39:20,868 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/D:/temp/template/node_modules/@squarespace/server/build/distributions/lo
cal-developer/lib/src.jar!/logback.xml]
02:39:20,878 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@c038203 - URL [jar:file:/D:/temp/template/node_modules/@squarespace/server/build/distributions/local-developer/
lib/local-developer.jar!/logback.xml] is not of type file
02:39:20,910 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
02:39:20,921 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
02:39:20,926 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
02:39:20,952 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
02:39:20,974 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [__RequestLogger] to INFO
02:39:20,974 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.squarespace.developer.autoreload.ReloadFileWatcher] to INFO
02:39:20,974 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [io.dropwizard.server.ServerFactory] to INFO
02:39:20,974 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ERROR
02:39:20,974 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
02:39:20,975 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
02:39:20,975 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@cc285f4 - Registering current configuration as safe fallback point

SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
Exception in thread "main" java.lang.NoSuchMethodError: io.dropwizard.server.SimpleServerFactory.setRequestLogFactory(Lio/dropwizard/request/logging/RequestLogFactory;)V
        at com.squarespace.developer.DevelopmentServer.configureLogging(DevelopmentServer.java:117)
        at com.squarespace.developer.DevelopmentServer.run(DevelopmentServer.java:73)
        at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:40)
        at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:77)
        at io.dropwizard.cli.Cli.run(Cli.java:70)
        at io.dropwizard.Application.run(Application.java:80)
        at com.squarespace.developer.DevelopmentServer.main(DevelopmentServer.java:61)
error Command failed with exit code 1.

Globally the same issue

Please help or advice where better report this problem.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants