Olá comunidade! Gostaria de pedir uma ajuda para conseguir executar ant jetty.run.
Ao executar o mesmo apresenta a mensagem:
2019-12-17 17:19:31.825::INFO: Shutdown hook executing
19-12-17 17:19:31,825 [INFO] org.springframework.web.context.support.AnnotationConfigWebApplicationContext - Closing Root WebApplicationContext: startup date [Tue Dec 17 17:19:30 BRST 2019]; root of context hierarchy
19-12-17 17:19:31,825 [INFO] org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1286528d: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,noRoutesConfiguration,defaultTypeFinder,validatorFactoryCreator,paranamerNameProvider,cglibProxifier,javaEvaluator,defaultResourceTranslator,defaultInterceptorHandlerFactory,defaultRouter,objenesisInstanceCreator,defaultTypeNameExtractor,encodingHandlerFactory,JSR303ValidatorFactory,XStreamConverters.NullConverter,defaultResourceNotFoundHandler,messageInterpolatorFactory,defaultMultipartConfig,defaultConverters,defaultAcceptHeaderToFormat,topologicalSortedInterceptorRegistry,hibernateProxyInitializer,defaultRoutes,interceptorListPriorToExecutionExtractor,defaultDeserializers,pathAnnotationRoutesParser,defaultMethodNotAllowedHandler,defaultRestDefaults,stereotypeHandler,converterHandler,interceptorStereotypeHandler,deserializesHandler,stereotypedBeansRegistrar,defaultSpringLocator,parametersInstantiatorInterceptor,defaultRepresentationResult,outjectResult,exceptionHandlerInterceptor,defaultRefererResult,defaultResult,defaultPathResolver,executeMethodInterceptor,ognlFacade,XStreamXMLSerialization,forwardToDefaultViewInterceptor,XStreamJSONPSerialization,sessionFlashScope,JSR303Validator,instantiateInterceptor,jsonDeserializer,emptyElementsRemoval,downloadInterceptor,emptyResult,resourceLookupInterceptor,defaultMethodInfo,applicationConfiguration,defaultExceptionMapper,defaultLogicResult,XStreamConverters,defaultValidationViewsFactory,jstlLocalization,defaultHttpResult,replicatorOutjector,ognlParametersProvider,defaultRestHeadersHandler,nullMultipartInterceptor,XStreamXMLDeserializer,messageConverter,deserializingInterceptor,defaultValidator,defaultPageResult,defaultStatus,flashInterceptor,HTMLSerialization,XStreamJSONSerialization,defaultFormatResolver,primitiveIntConverter,booleanConverter,primitiveBooleanConverter,primitiveLongConverter,longConverter,uploadedFileConverter,byteConverter,characterConverter,bigDecimalConverter,enumConverter,primitiveShortConverter,stringConverter,localDateConverter,localeBasedDateConverter,bigIntegerConverter,integerConverter,primitiveFloatConverter,localeBasedCalendarConverter,localDateTimeConverter,localTimeConverter,doubleConverter,shortConverter,primitiveDoubleConverter,primitiveCharConverter,floatConverter,primitiveByteConverter,VRaptorRequestProvider,httpServletRequestProvider,httpServletResponseProvider,httpSessionProvider,XStreamBuilderImpl,defaultInterceptorStack,enhancedRequestExecution,org.springframework.aop.config.internalAutoProxyCreator,usuarioRepositoryImpl,leilaoRepositoryImpl,usuarioController,cookieController,leilaoController]; root of factory hierarchy
2019-12-17 17:19:31.840::INFO: Shutdown hook complete
Fiz alguns testes com a versões 1.9.14, 1.10.2 e 1.10.7 do ant. Estou com o java JDK 1.8.0_201. Criei as duas variáveis para o ambiente de sistema:
ANT_HOME = C:\ant\apache-ant-1.10.7 e na Path adicionei = %ANT_HOME%\bin
Ao verificar em algum navegador a mensagem exibida é: Unauthorized