[jbosstools-issues] [JBoss JIRA] (JBIDE-18128) Jboss Eclipse Luna plugin doesn't deploy all .class

fede pia (JIRA) issues at jboss.org
Fri Aug 29 12:44:00 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-18128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997048#comment-12997048 ] 

fede pia commented on JBIDE-18128:
----------------------------------

[~maxandersen] I installed the nightly builds and the issue still persists. I can send you a join.me link to show you my desktop. The same project doesn't start on Eclipse Luna whilst it does on Eclipse Kepler. I can't provide my project because of company policies but I can tell you that is a backend project using Jersey 1.8, Java 6, Jboss 7.1, Spring 3.1:
        <properties>
		<java-version>1.6</java-version>
		<org.springframework-version>3.1.1.RELEASE</org.springframework-version>
		<org.aspectj-version>1.7.3</org.aspectj-version>
		<org.slf4j-version>1.6.6</org.slf4j-version>
		<querydsl.version>2.7.2</querydsl.version>
		<derby.version>10.10.1.1</derby.version>
	</properties>

As a note the class that is always missing is my only aspect. So, as a sample you could try using an aspect weaved using AspectJ maven plugin. I use this configuration:

                 <!-- AspectJ configuration -->
		<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>aspectj-maven-plugin</artifactId>
				<!-- Version 1.5 is for Java 6, Version 1.6 is for Java 7, Version 1.7 is for Java 8 -->
				<version>1.5</version>
	            <configuration>
	                <complianceLevel>${java-version}</complianceLevel>
	                <source>${java-version}</source>
	                <target>${java-version}</target>
	            </configuration>
				<executions>
					<execution>
						<goals>
							<goal>compile</goal>
							<goal>test-compile</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

Anything you need just let me know

> Jboss Eclipse Luna plugin doesn't deploy all .class
> ---------------------------------------------------
>
>                 Key: JBIDE-18128
>                 URL: https://issues.jboss.org/browse/JBIDE-18128
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.2.0.Beta3
>            Reporter: fede pia
>            Assignee: Rob Stryker
>            Priority: Blocker
>
> The problem I'm facing is that when I run/debug my aplication from Server view in Eclipse the jboss plugin doesn't deploy all the .class files, thus I get ClassNotFoundException.
> I've tried cleaning the project, cleaning jboss, remove temporaries but nothing works. The not found classes are random.
> For Eclipse 4.3 everything works fine, although this issue usually happens but I can solve it with a Project -> Clean
> As a context, I've installed Eclipse Luna (also tried STS 3.6) and added Jboss Tools plugin 4.2.0 Beta 3 (I've installed only Jboss AS component). The jboss servers I tested were JBoss 7.1 and Wildfly 8.1.
> I also tried building the war outside Eclipse and deployed manually to JBoss and everything works fine.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list