Info |
---|
Help is available by sending an email to csf-support@mit.edu |
Panel | |||||
---|---|---|---|---|---|
|
Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Panel | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
Panel | |||||||||||
Anchor | | My build fails whenever MyEclipse tries to deploy my application to my OC4J application server | My build fails whenever MyEclipse tries to deploy my application to my OC4J application server |
(org.maven.ide.eclipse and org.eclipse.m2e ) in your project, you will not be able to build your project. |
To resolve the problem, remove one of the maven natures/libraries in the project configuration. It can be done via deleting the maven nature from the Libraries in the Java Build Path of the project as shown in the panel below:
Also, you can edit the .classpath and .project file manually. You need to choose either one of the maven nature or classpath entry. Using the
The build will fail when it tries to deploy the application to the application server. The logs in the server will shows an error indicating that it is unable to load the applicationContext as it cannot create the daoFoundation bean, sessionFactory bean, and so on as a result of a missing object: Student. \\ \\ To resolve the problem, remove one of the maven natures/libraries in the project configuration. It can be done via deleting the maven nature from the Libraries in the Java Build Path of the project as shown in the panel below: \\ \\ !myeclipse001.jpg! \\ \\Also, you can edit the .classpath and .project file manually. You need to choose either one of the maven nature or classpath entry. Using the org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER, the following are excerpts of the .classpath and .project files that are configured properly: |
For the
\\ \\ *# For the .classpath file: |
{code |
} <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" output="target/classes" path="src/main/java"/> <classpathentry kind="src" output="target/classes" path="src/main/resources"/> <classpathentry kind="src" output="target/test-classes" path="src/test/java"/> <classpathentry kind="src" output="target/test-classes" path="src/test/resources"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER /org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> <attributes> <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/> </attributes> </classpathentry> <classpathentry kind="output" path="target/classes"/> </classpath> |
{code} *# for the .project file: |
{code |
} <buildCommand> <name>org.eclipse.m2e.core.maven2Builder</name> <arguments> </arguments> </buildCommand> . . <natures> <nature>org.eclipse.m2e.core.maven2Nature</nature> . . </natures> {code} |
Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
ANSWER: Open $
|
Panel | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Code Block |
|
Panel |
---|
How do I block inbound connections on ports 8888 and 4443?Follow this link for instructions on how to block inbound connections for any TCP port. |