[JBoss JIRA] (JBDS-2757) Remove java 6 requirement of EAP from installer
by Jiri Peterka (JIRA)
[ https://issues.jboss.org/browse/JBDS-2757?page=com.atlassian.jira.plugin.... ]
Jiri Peterka updated JBDS-2757:
-------------------------------
CDW qa_ack: + (was: ?)
> Remove java 6 requirement of EAP from installer
> -----------------------------------------------
>
> Key: JBDS-2757
> URL: https://issues.jboss.org/browse/JBDS-2757
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: installer
> Affects Versions: 7.1.0.Alpha1
> Environment: OS X Mountain Lion
> Reporter: Martin Malina
> Assignee: Nick Boldt
> Fix For: 7.1.0.Beta1
>
> Attachments: ins-step-4.png, ins-step-5.png
>
>
> There are two strings I would like removed from the installer:
> Step 4
> Please note that JBoss EAP 6 requires Java 6 or higher.
> !ins-step-4.png!
> Step 5
> (Java 6 is required to run JBoss EAP 6)
> !ins-step-5.png!
> I think this was added when we still supported running of JBDS with Java 5, but now that JBDS needs Java 6 I think it's not needed to point this out explicitly.
> Also, in Step 4 there's this:
> JBoss Developer Studio works with Java 6 and has been tested with OpenJDK, Oracle and Apple JDK.
> - Here I would add Java 7 to the mix - we test that too.
> And last, EAP should be Red Hat JBoss Enterprise Application Platform (in Step 5).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15851) Eclipse fails to compile classes and requires transitive dependencies in the compiler classpath
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15851?page=com.atlassian.jira.plugi... ]
Vineet Reynolds updated JBIDE-15851:
------------------------------------
Attachment: kitchensink-spring-matrixvariables.png
Attaching screenshot. The compiler error is displayed in the Problems view.
> Eclipse fails to compile classes and requires transitive dependencies in the compiler classpath
> -----------------------------------------------------------------------------------------------
>
> Key: JBIDE-15851
> URL: https://issues.jboss.org/browse/JBIDE-15851
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Affects Versions: 4.1.0.Final
> Reporter: Vineet Reynolds
> Assignee: Fred Bricon
> Priority: Critical
> Labels: maven, upstream
> Attachments: kitchensink-spring-matrixvariables.png
>
>
> On importing the kitchensink-spring-matrixvariables quickstart (of WFK quickstarts) into JBDS 7.0.0/7.0.1 GA, the following compiler error is reported:
> {noformat}
> Description Resource Path Location Type
> The type javax.servlet.ServletContext cannot be resolved. It is indirectly referenced from required .class files WebConfig.java /jboss-kitchensink-spring-matrixvariables/src/main/java/org/jboss/as/quickstarts/kitchensink/spring/matrixvariables/config line 1 Java Problem
> {noformat}
> This compilation issue is not encountered when running the build from the command line, either via {{mvn clean compile}} or even {{mvn clean package jboss-as:deploy}}.
> Additionally, the deployment is successful when performed via Maven CLI. The deployment is unusable when Eclipse is used to perform deployment against JBoss EAP 6.1.1 (provided that the Maven compile or package goal was not executed). The following error is reported in the log:
> {noformat}
> 20:34:42,439 ERROR [org.springframework.web.servlet.DispatcherServlet] (http-/0.0.0.0:8080-1) Context initialization failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.jboss.as.quickstarts.kitchensink.spring.matrixvariables.config.WebConfig#0' defined in ServletContext resource [/WEB-INF/jboss-as-spring-mvc-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jboss.as.quickstarts.kitchensink.spring.matrixvariables.config.WebConfig$$EnhancerByCGLIB$$fb8c765d]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problem:
> The type javax.servlet.ServletContext cannot be resolved. It is indirectly referenced from required .class files
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1007) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:953) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) [spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) [spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:599) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:518) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:459) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:950) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:151) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
> Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jboss.as.quickstarts.kitchensink.spring.matrixvariables.config.WebConfig$$EnhancerByCGLIB$$fb8c765d]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problem:
> The type javax.servlet.ServletContext cannot be resolved. It is indirectly referenced from required .class files
> at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1000) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> ... 32 more
> Caused by: java.lang.Error: Unresolved compilation problem:
> The type javax.servlet.ServletContext cannot be resolved. It is indirectly referenced from required .class files
> at org.jboss.as.quickstarts.kitchensink.spring.matrixvariables.config.WebConfig.<init>(WebConfig.java:1) [classes:]
> at org.jboss.as.quickstarts.kitchensink.spring.matrixvariables.config.WebConfig$$EnhancerByCGLIB$$fb8c765d.<init>(<generated>) [spring-core-3.2.3.RELEASE.jar:]
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_45]
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_45]
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_45]
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [rt.jar:1.7.0_45]
> at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> ... 34 more
> 20:34:42,444 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jboss-kitchensink-spring-matrixvariables].[jboss-as-kitchensink]] (http-/0.0.0.0:8080-1) JBWEB000235: Allocate exception for servlet jboss-as-kitchensink: java.lang.Error: Unresolved compilation problem:
> The type javax.servlet.ServletContext cannot be resolved. It is indirectly referenced from required .class files
> at org.jboss.as.quickstarts.kitchensink.spring.matrixvariables.config.WebConfig.<init>(WebConfig.java:1) [classes:]
> at org.jboss.as.quickstarts.kitchensink.spring.matrixvariables.config.WebConfig$$EnhancerByCGLIB$$fb8c765d.<init>(<generated>) [spring-core-3.2.3.RELEASE.jar:]
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_45]
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_45]
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_45]
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [rt.jar:1.7.0_45]
> at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1000) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:953) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) [spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) [spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:599) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:518) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:459) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136) [spring-webmvc-3.2.3.RELEASE.jar:3.2.3.RELEASE]
> at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:950) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:151) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15796) Deployment error: No servlet class has been specified for servlet javax.ws.rs.core.Application
by Koen Aers (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15796?page=com.atlassian.jira.plugi... ]
Koen Aers updated JBIDE-15796:
------------------------------
Fix Version/s: 4.1.1.CR1
(was: 4.1.1.Beta1)
> Deployment error: No servlet class has been specified for servlet javax.ws.rs.core.Application
> -----------------------------------------------------------------------------------------------
>
> Key: JBIDE-15796
> URL: https://issues.jboss.org/browse/JBIDE-15796
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: forge
> Affects Versions: 4.1.1.Beta1
> Reporter: Pavol Srna
> Assignee: Koen Aers
> Fix For: 4.1.1.CR1
>
> Attachments: forge-html5.server.log
>
>
> Deployment with error: No servlet class has been specified for servlet javax.ws.rs.core.Application.
> Prepare app in forge console:
> 1) new-project --named testp --type war
> 2) setup persistence (HIBERNATE, JBOSS_AS7)
> 3) scaffold-x setup --scaffoldType angularjs --overwrite
> 4) entity --named Customer
> 5) field string --named name
> Scaffold HTML5:
> * scaffold-x from Customer.java
> Build and deploy on the server.
> See server.log attached for more description.
> I assume this should work out of the box right?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months