How to disable jsf in Eclipse

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

How to disable jsf in Eclipse

Karen Goh
Dear expert,

I am running a maven war plug-in jee project using Tomcat and TomEE I think, with Hibernate and jsp.

Here's my pom.xml :

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>Hi5S</groupId>
        <artifactId>Hi5S</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <packaging>war</packaging>
        <build>
        <resources>
             <resource>
              <directory>src/main/resources</directory>
              <targetPath>WEB-INF</targetPath>
              <includes>
                <include>**/*</include>
              </includes>
            </resource>
       
    </resources>      
  </build>
        <properties>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
               
  <maven.compiler.source>1.8</maven.compiler.source>
                <maven.compiler.target>1.8</maven.compiler.target>

                <failOnMissingWebXml>false</failOnMissingWebXml>

        </properties>

        <dependencies>
                <dependency>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-war-plugin</artifactId>
                        <version>3.2.0</version>
                </dependency>
                <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jdbc -->

                <dependency>
                        <groupId>org.apache.tomcat</groupId>
                        <artifactId>tomcat-jdbc</artifactId>
                        <version>9.0.2</version>
                </dependency>
                <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jsp-api -->
                <dependency>
                        <groupId>org.apache.tomcat</groupId>
                        <artifactId>tomcat-jsp-api</artifactId>
                        <version>9.0.4</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>org.apache.logging.log4j</groupId>
                        <artifactId>log4j-api</artifactId>
                        <version>2.10.0</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.logging.log4j</groupId>
                        <artifactId>log4j-core</artifactId>
                        <version>2.10.0</version>
                </dependency>
                <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>jstl</artifactId>
                        <version>1.2</version>
                </dependency>

                <!-- datasource-proxy -->
                <dependency>
                        <groupId>commons-digester</groupId>
                        <artifactId>commons-digester</artifactId>
                        <version>2.1</version>
                </dependency>
                <dependency>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                        <version>1.2</version>
                </dependency>
                <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>jsp-api</artifactId>
                        <version>2.0</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>jstl</groupId>
                        <artifactId>jstl</artifactId>
                        <scope>provided</scope>
                        <version>1.2</version>
                </dependency>
                <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-web -->
                <dependency>
                        <groupId>org.apache.logging.log4j</groupId>
                        <artifactId>log4j-web</artifactId>
                        <version>2.7</version>
                </dependency>
                <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>javax.servlet-api</artifactId>
                        <version>3.1.0</version>
                        <scope>provided</scope>
                </dependency>
                <!-- https://mvnrepository.com/artifact/org.apache.tomee/javaee-api -->
                <dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-jdk14</artifactId>
                        <version>1.7.21</version>
                        <type>jar</type>
                        <scope>compile</scope>
                </dependency>
                <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
                <dependency>
                        <groupId>mysql</groupId>
                        <artifactId>mysql-connector-java</artifactId>
                        <version>5.1.45</version>
                        <scope>provided</scope>
                </dependency>

                <!-- https://mvnrepository.com/artifact/javax/javaee-api -->
                <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core -->
                <dependency>
                        <groupId>org.hibernate</groupId>
                        <artifactId>hibernate-core</artifactId>
                        <version>5.2.10.Final</version>
                </dependency>
                <dependency>
                        <groupId>javax.validation</groupId>
                        <artifactId>validation-api</artifactId>
                        <version>2.0.0.Final</version>
                </dependency>
                <dependency>
                        <groupId>javax.transaction</groupId>
                        <artifactId>jta</artifactId>
                        <version>1.1</version>
                </dependency>
                <!-- https://mvnrepository.com/artifact/javax/javaee-api -->
                <dependency>
                        <groupId>javax</groupId>
                        <artifactId>javaee-api</artifactId>
                        <version>8.0</version>
                        <scope>provided</scope>
                </dependency>
                <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
                <dependency>
                        <groupId>com.google.guava</groupId>
                        <artifactId>guava</artifactId>
                        <version>19.0</version>
                </dependency>
                <!-- https://mvnrepository.com/artifact/org.javassist/javassist -->
                <dependency>
                        <groupId>org.javassist</groupId>
                        <artifactId>javassist</artifactId>
                        <version>3.19.0-GA</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.geronimo.specs</groupId>
                        <artifactId>geronimo-osgi-locator</artifactId>
                        <version>1.1</version>
                </dependency><!-- https://mvnrepository.com/artifact/org.jboss.logging/jboss-logging -->
                <dependency>
                        <groupId>org.jboss.logging</groupId>
                        <artifactId>jboss-logging</artifactId>
                        <version>3.3.1.Final</version>
                        <scope>runtime</scope>
                </dependency>
                <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
                <dependency>
                        <groupId>com.fasterxml</groupId>
                        <artifactId>classmate</artifactId>
                        <version>0.8.0</version>
                </dependency>
                <!-- https://mvnrepository.com/artifact/org.sonatype.aether/aether-api -->
                <dependency>
                        <groupId>org.sonatype.aether</groupId>
                        <artifactId>aether-api</artifactId>
                        <version>1.7</version>
                </dependency>
        </dependencies>

</project>

I am running on Windows 10, Eclipse Oxygen and Hibernate 5.2.10.

Recently, I have added in persistence.xml file as I want to ride of JPA 'JTP' local resource to do the management of transaction and then I faced this
problem of my url showing faces.

Also, I created the META-INF folder manually since it is not there.

Here's my project structure :
https://ibb.co/gQPcHH

http://localhost:8080/Hi5S/faces/tutorRegister.jsp

(I do not want faces in the url)

Now, I have followed the advised as per this link below but to no avail.

https://stackoverflow.com/questions/30380941/disable-eclipse-jsf-facet-nature

The guy that mentioned the method has now switch to use Intelligence IDE and I can't get any help..

Hope someone how to disable it.

Thanks a million.

regards,
Karen

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: How to disable jsf in Eclipse

Diego Lin

please try this way:

Properties of your project -> Project Facets -> JavaServer Faces. Uncheck it.


Thanks,
Diego


-----Original Message-----
From: Karen Goh [mailto:[hidden email]]
Sent: Tuesday, April 10, 2018 1:10 PM
To: [hidden email]
Subject: How to disable jsf in Eclipse

[External E-mail]


Dear expert,

I am running a maven war plug-in jee project using Tomcat and TomEE I think, with Hibernate and jsp.

Here's my pom.xml :

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>Hi5S</groupId>
        <artifactId>Hi5S</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <packaging>war</packaging>
        <build>
        <resources>
             <resource>
              <directory>src/main/resources</directory>
              <targetPath>WEB-INF</targetPath>
              <includes>
                <include>**/*</include>
              </includes>
            </resource>
       
    </resources>      
  </build>
        <properties>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
               
  <maven.compiler.source>1.8</maven.compiler.source>
                <maven.compiler.target>1.8</maven.compiler.target>

                <failOnMissingWebXml>false</failOnMissingWebXml>

        </properties>

        <dependencies>
                <dependency>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-war-plugin</artifactId>
                        <version>3.2.0</version>
                </dependency>
                <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jdbc -->

                <dependency>
                        <groupId>org.apache.tomcat</groupId>
                        <artifactId>tomcat-jdbc</artifactId>
                        <version>9.0.2</version>
                </dependency>
                <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jsp-api -->
                <dependency>
                        <groupId>org.apache.tomcat</groupId>
                        <artifactId>tomcat-jsp-api</artifactId>
                        <version>9.0.4</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>org.apache.logging.log4j</groupId>
                        <artifactId>log4j-api</artifactId>
                        <version>2.10.0</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.logging.log4j</groupId>
                        <artifactId>log4j-core</artifactId>
                        <version>2.10.0</version>
                </dependency>
                <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>jstl</artifactId>
                        <version>1.2</version>
                </dependency>

                <!-- datasource-proxy -->
                <dependency>
                        <groupId>commons-digester</groupId>
                        <artifactId>commons-digester</artifactId>
                        <version>2.1</version>
                </dependency>
                <dependency>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                        <version>1.2</version>
                </dependency>
                <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>jsp-api</artifactId>
                        <version>2.0</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>jstl</groupId>
                        <artifactId>jstl</artifactId>
                        <scope>provided</scope>
                        <version>1.2</version>
                </dependency>
                <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-web -->
                <dependency>
                        <groupId>org.apache.logging.log4j</groupId>
                        <artifactId>log4j-web</artifactId>
                        <version>2.7</version>
                </dependency>
                <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>javax.servlet-api</artifactId>
                        <version>3.1.0</version>
                        <scope>provided</scope>
                </dependency>
                <!-- https://mvnrepository.com/artifact/org.apache.tomee/javaee-api -->
                <dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-jdk14</artifactId>
                        <version>1.7.21</version>
                        <type>jar</type>
                        <scope>compile</scope>
                </dependency>
                <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
                <dependency>
                        <groupId>mysql</groupId>
                        <artifactId>mysql-connector-java</artifactId>
                        <version>5.1.45</version>
                        <scope>provided</scope>
                </dependency>

                <!-- https://mvnrepository.com/artifact/javax/javaee-api -->
                <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core -->
                <dependency>
                        <groupId>org.hibernate</groupId>
                        <artifactId>hibernate-core</artifactId>
                        <version>5.2.10.Final</version>
                </dependency>
                <dependency>
                        <groupId>javax.validation</groupId>
                        <artifactId>validation-api</artifactId>
                        <version>2.0.0.Final</version>
                </dependency>
                <dependency>
                        <groupId>javax.transaction</groupId>
                        <artifactId>jta</artifactId>
                        <version>1.1</version>
                </dependency>
                <!-- https://mvnrepository.com/artifact/javax/javaee-api -->
                <dependency>
                        <groupId>javax</groupId>
                        <artifactId>javaee-api</artifactId>
                        <version>8.0</version>
                        <scope>provided</scope>
                </dependency>
                <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
                <dependency>
                        <groupId>com.google.guava</groupId>
                        <artifactId>guava</artifactId>
                        <version>19.0</version>
                </dependency>
                <!-- https://mvnrepository.com/artifact/org.javassist/javassist -->
                <dependency>
                        <groupId>org.javassist</groupId>
                        <artifactId>javassist</artifactId>
                        <version>3.19.0-GA</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.geronimo.specs</groupId>
                        <artifactId>geronimo-osgi-locator</artifactId>
                        <version>1.1</version>
                </dependency><!-- https://mvnrepository.com/artifact/org.jboss.logging/jboss-logging -->
                <dependency>
                        <groupId>org.jboss.logging</groupId>
                        <artifactId>jboss-logging</artifactId>
                        <version>3.3.1.Final</version>
                        <scope>runtime</scope>
                </dependency>
                <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
                <dependency>
                        <groupId>com.fasterxml</groupId>
                        <artifactId>classmate</artifactId>
                        <version>0.8.0</version>
                </dependency>
                <!-- https://mvnrepository.com/artifact/org.sonatype.aether/aether-api -->
                <dependency>
                        <groupId>org.sonatype.aether</groupId>
                        <artifactId>aether-api</artifactId>
                        <version>1.7</version>
                </dependency>
        </dependencies>

</project>

I am running on Windows 10, Eclipse Oxygen and Hibernate 5.2.10.

Recently, I have added in persistence.xml file as I want to ride of JPA 'JTP' local resource to do the management of transaction and then I faced this problem of my url showing faces.

Also, I created the META-INF folder manually since it is not there.

Here's my project structure :
https://ibb.co/gQPcHH

http://localhost:8080/Hi5S/faces/tutorRegister.jsp

(I do not want faces in the url)

Now, I have followed the advised as per this link below but to no avail.

https://stackoverflow.com/questions/30380941/disable-eclipse-jsf-facet-nature

The guy that mentioned the method has now switch to use Intelligence IDE and I can't get any help..

Hope someone how to disable it.

Thanks a million.

regards,
Karen

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: How to disable jsf in Eclipse

Karen Goh
In reply to this post by Karen Goh

--------------------------------------------
On Tue, 4/10/18, Diego Lin <[hidden email]> wrote:

 Subject: RE: How to disable jsf in Eclipse
 To: "Maven Users List" <[hidden email]>, "Karen Goh" <[hidden email]>
 Date: Tuesday, April 10, 2018, 1:39 PM
 
 
 please try this
 way:
 
 Properties of your
 project -> Project Facets -> JavaServer Faces. Uncheck
 it.
 

It does not work!

I did this before I tried other things that was mentioned in the net.

After I unchecked, I would do a Maven update on the project can it would become check again........

And so the same old url with faces came back again...


 
 Thanks,
 Diego
 
 
 -----Original
 Message-----
 From: Karen Goh [mailto:[hidden email]]
 
 Sent: Tuesday, April 10, 2018 1:10 PM
 To: [hidden email]
 Subject: How to disable jsf in Eclipse
 
 [External E-mail]
 
 
 Dear
 expert,
 
 I am running a
 maven war plug-in jee project using Tomcat and TomEE I
 think, with Hibernate and jsp.
 
 Here's my pom.xml :
 
 <project xmlns="http://maven.apache.org/POM/4.0.0"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    
 <modelVersion>4.0.0</modelVersion>
     <groupId>Hi5S</groupId>
    
 <artifactId>Hi5S</artifactId>
    
 <version>0.0.1-SNAPSHOT</version>
    
 <packaging>war</packaging>
     <build>
    
 <resources>
            
 <resource>
              
 <directory>src/main/resources</directory>
              
 <targetPath>WEB-INF</targetPath>
               <includes>
                
 <include>**/*</include>
      
         </includes>
          
   </resource>
        
     </resources>     
   </build>
    
 <properties>
        
 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        
     
 <maven.compiler.source>1.8</maven.compiler.source>
        
 <maven.compiler.target>1.8</maven.compiler.target>
 
        
 <failOnMissingWebXml>false</failOnMissingWebXml>
 
     </properties>
 
     <dependencies>
         <dependency>
            
 <groupId>org.apache.maven.plugins</groupId>
            
 <artifactId>maven-war-plugin</artifactId>
            
 <version>3.2.0</version>
    
     </dependency>
        
 <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jdbc
 -->
 
        
 <dependency>
            
 <groupId>org.apache.tomcat</groupId>
            
 <artifactId>tomcat-jdbc</artifactId>
            
 <version>9.0.2</version>
    
     </dependency>
        
 <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jsp-api
 -->
        
 <dependency>
            
 <groupId>org.apache.tomcat</groupId>
            
 <artifactId>tomcat-jsp-api</artifactId>
            
 <version>9.0.4</version>
    
         <scope>provided</scope>
         </dependency>
         <dependency>
            
 <groupId>org.apache.logging.log4j</groupId>
            
 <artifactId>log4j-api</artifactId>
            
 <version>2.10.0</version>
    
     </dependency>
        
 <dependency>
            
 <groupId>org.apache.logging.log4j</groupId>
            
 <artifactId>log4j-core</artifactId>
            
 <version>2.10.0</version>
    
     </dependency>
        
 <dependency>
            
 <groupId>javax.servlet</groupId>
            
 <artifactId>jstl</artifactId>
            
 <version>1.2</version>
    
     </dependency>
 
         <!-- datasource-proxy
 -->
         <dependency>
            
 <groupId>commons-digester</groupId>
            
 <artifactId>commons-digester</artifactId>
            
 <version>2.1</version>
    
     </dependency>
        
 <dependency>
            
 <groupId>commons-logging</groupId>
            
 <artifactId>commons-logging</artifactId>
            
 <version>1.2</version>
    
     </dependency>
        
 <dependency>
            
 <groupId>javax.servlet</groupId>
            
 <artifactId>jsp-api</artifactId>
            
 <version>2.0</version>
    
         <scope>provided</scope>
         </dependency>
         <dependency>
            
 <groupId>jstl</groupId>
    
         <artifactId>jstl</artifactId>
            
 <scope>provided</scope>
    
         <version>1.2</version>
         </dependency>
         <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-web
 -->
        
 <dependency>
            
 <groupId>org.apache.logging.log4j</groupId>
            
 <artifactId>log4j-web</artifactId>
            
 <version>2.7</version>
    
     </dependency>
        
 <dependency>
            
 <groupId>javax.servlet</groupId>
            
 <artifactId>javax.servlet-api</artifactId>
            
 <version>3.1.0</version>
    
         <scope>provided</scope>
         </dependency>
         <!-- https://mvnrepository.com/artifact/org.apache.tomee/javaee-api
 -->
        
 <dependency>
            
 <groupId>org.slf4j</groupId>
            
 <artifactId>slf4j-jdk14</artifactId>
            
 <version>1.7.21</version>
    
         <type>jar</type>
            
 <scope>compile</scope>
    
     </dependency>
        
 <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java
 -->
        
 <dependency>
            
 <groupId>mysql</groupId>
    
        
 <artifactId>mysql-connector-java</artifactId>
            
 <version>5.1.45</version>
    
         <scope>provided</scope>
         </dependency>
 
         <!-- https://mvnrepository.com/artifact/javax/javaee-api
 -->
         <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core
 -->
        
 <dependency>
            
 <groupId>org.hibernate</groupId>
            
 <artifactId>hibernate-core</artifactId>
            
 <version>5.2.10.Final</version>
         </dependency>
         <dependency>
            
 <groupId>javax.validation</groupId>
            
 <artifactId>validation-api</artifactId>
            
 <version>2.0.0.Final</version>
         </dependency>
         <dependency>
            
 <groupId>javax.transaction</groupId>
            
 <artifactId>jta</artifactId>
            
 <version>1.1</version>
    
     </dependency>
        
 <!-- https://mvnrepository.com/artifact/javax/javaee-api
 -->
        
 <dependency>
            
 <groupId>javax</groupId>
    
        
 <artifactId>javaee-api</artifactId>
            
 <version>8.0</version>
    
         <scope>provided</scope>
         </dependency>
         <!-- https://mvnrepository.com/artifact/com.google.guava/guava
 -->
        
 <dependency>
            
 <groupId>com.google.guava</groupId>
            
 <artifactId>guava</artifactId>
            
 <version>19.0</version>
    
     </dependency>
        
 <!-- https://mvnrepository.com/artifact/org.javassist/javassist
 -->
        
 <dependency>
            
 <groupId>org.javassist</groupId>
            
 <artifactId>javassist</artifactId>
            
 <version>3.19.0-GA</version>
         </dependency>
         <dependency>
            
 <groupId>org.apache.geronimo.specs</groupId>
            
 <artifactId>geronimo-osgi-locator</artifactId>
            
 <version>1.1</version>
    
     </dependency><!-- https://mvnrepository.com/artifact/org.jboss.logging/jboss-logging
 -->
        
 <dependency>
            
 <groupId>org.jboss.logging</groupId>
            
 <artifactId>jboss-logging</artifactId>
            
 <version>3.3.1.Final</version>
            
 <scope>runtime</scope>
    
     </dependency>
        
 <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate
 -->
        
 <dependency>
            
 <groupId>com.fasterxml</groupId>
            
 <artifactId>classmate</artifactId>
            
 <version>0.8.0</version>
    
     </dependency>
        
 <!-- https://mvnrepository.com/artifact/org.sonatype.aether/aether-api
 -->
        
 <dependency>
            
 <groupId>org.sonatype.aether</groupId>
            
 <artifactId>aether-api</artifactId>
            
 <version>1.7</version>
    
     </dependency>
    
 </dependencies>
 
 </project>
 
 I am running on Windows 10, Eclipse Oxygen and
 Hibernate 5.2.10.
 
 Recently,
 I have added in persistence.xml file as I want to ride of
 JPA 'JTP' local resource to do the management of
 transaction and then I faced this problem of my url showing
 faces.
 
 Also, I created the
 META-INF folder manually since it is not there.
 
 Here's my project
 structure :
 https://ibb.co/gQPcHH
 
 http://localhost:8080/Hi5S/faces/tutorRegister.jsp
 
 (I do not want faces in the
 url)
 
 Now, I have followed
 the advised as per this link below but to no avail.
 
 https://stackoverflow.com/questions/30380941/disable-eclipse-jsf-facet-nature
 
 The guy that mentioned the
 method has now switch to use Intelligence IDE and I
 can't get any help..
 
 Hope someone how to disable it.
 
 Thanks a million.
 
 regards,
 Karen
 
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [hidden email]
 For additional commands, e-mail: [hidden email]
 
 
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [hidden email]
 For additional commands, e-mail: [hidden email]
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: How to disable jsf in Eclipse

Diego Lin

If you just want to disable JSF in Eclipse, you may modify the project file ".project" directly.

Please try this way:
1. Close the project in Eclipse.
2. Edit the file .project to remove all stuff related to JSF, like these:

                <buildCommand>
                        <name>org.eclipse.wst.common.project.facet.core.builder</name>
                        <arguments>
                        </arguments>
                </buildCommand>

                <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
3. Open the project again.


Thanks,
Diego

-----Original Message-----
From: Karen Goh [mailto:[hidden email]]
Sent: Tuesday, April 10, 2018 2:13 PM
To: Maven Users List
Cc: Diego Lin
Subject: RE: How to disable jsf in Eclipse

[External E-mail]



--------------------------------------------
On Tue, 4/10/18, Diego Lin <[hidden email]> wrote:

 Subject: RE: How to disable jsf in Eclipse
 To: "Maven Users List" <[hidden email]>, "Karen Goh" <[hidden email]>
 Date: Tuesday, April 10, 2018, 1:39 PM
 
 
 please try this
 way:
 
 Properties of your
 project -> Project Facets -> JavaServer Faces. Uncheck  it.
 

It does not work!

I did this before I tried other things that was mentioned in the net.

After I unchecked, I would do a Maven update on the project can it would become check again........

And so the same old url with faces came back again...


 
 Thanks,
 Diego
 
 
 -----Original
 Message-----
 From: Karen Goh [mailto:[hidden email]]
 
 Sent: Tuesday, April 10, 2018 1:10 PM
 To: [hidden email]
 Subject: How to disable jsf in Eclipse
 
 [External E-mail]
 
 
 Dear
 expert,
 
 I am running a
 maven war plug-in jee project using Tomcat and TomEE I  think, with Hibernate and jsp.
 
 Here's my pom.xml :
 
 <project xmlns="http://maven.apache.org/POM/4.0.0"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    
 <modelVersion>4.0.0</modelVersion>
     <groupId>Hi5S</groupId>
    
 <artifactId>Hi5S</artifactId>
    
 <version>0.0.1-SNAPSHOT</version>
    
 <packaging>war</packaging>
     <build>
    
 <resources>
            
 <resource>
              
 <directory>src/main/resources</directory>
              
 <targetPath>WEB-INF</targetPath>
               <includes>
                
 <include>**/*</include>
      
         </includes>
          
   </resource>
        
     </resources>
   </build>
    
 <properties>
        
 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        
     
 <maven.compiler.source>1.8</maven.compiler.source>
        
 <maven.compiler.target>1.8</maven.compiler.target>
 
        
 <failOnMissingWebXml>false</failOnMissingWebXml>
 
     </properties>
 
     <dependencies>
         <dependency>
            
 <groupId>org.apache.maven.plugins</groupId>
            
 <artifactId>maven-war-plugin</artifactId>
            
 <version>3.2.0</version>
    
     </dependency>
        
 <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jdbc
 -->
 
        
 <dependency>
            
 <groupId>org.apache.tomcat</groupId>
            
 <artifactId>tomcat-jdbc</artifactId>
            
 <version>9.0.2</version>
    
     </dependency>
        
 <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jsp-api
 -->
        
 <dependency>
            
 <groupId>org.apache.tomcat</groupId>
            
 <artifactId>tomcat-jsp-api</artifactId>
            
 <version>9.0.4</version>
    
         <scope>provided</scope>
         </dependency>
         <dependency>
            
 <groupId>org.apache.logging.log4j</groupId>
            
 <artifactId>log4j-api</artifactId>
            
 <version>2.10.0</version>
    
     </dependency>
        
 <dependency>
            
 <groupId>org.apache.logging.log4j</groupId>
            
 <artifactId>log4j-core</artifactId>
            
 <version>2.10.0</version>
    
     </dependency>
        
 <dependency>
            
 <groupId>javax.servlet</groupId>
            
 <artifactId>jstl</artifactId>
            
 <version>1.2</version>
    
     </dependency>
 
         <!-- datasource-proxy
 -->
         <dependency>
            
 <groupId>commons-digester</groupId>
            
 <artifactId>commons-digester</artifactId>
            
 <version>2.1</version>
    
     </dependency>
        
 <dependency>
            
 <groupId>commons-logging</groupId>
            
 <artifactId>commons-logging</artifactId>
            
 <version>1.2</version>
    
     </dependency>
        
 <dependency>
            
 <groupId>javax.servlet</groupId>
            
 <artifactId>jsp-api</artifactId>
            
 <version>2.0</version>
    
         <scope>provided</scope>
         </dependency>
         <dependency>
            
 <groupId>jstl</groupId>
    
         <artifactId>jstl</artifactId>
            
 <scope>provided</scope>
    
         <version>1.2</version>
         </dependency>
         <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-web
 -->
        
 <dependency>
            
 <groupId>org.apache.logging.log4j</groupId>
            
 <artifactId>log4j-web</artifactId>
            
 <version>2.7</version>
    
     </dependency>
        
 <dependency>
            
 <groupId>javax.servlet</groupId>
            
 <artifactId>javax.servlet-api</artifactId>
            
 <version>3.1.0</version>
    
         <scope>provided</scope>
         </dependency>
         <!-- https://mvnrepository.com/artifact/org.apache.tomee/javaee-api
 -->
        
 <dependency>
            
 <groupId>org.slf4j</groupId>
            
 <artifactId>slf4j-jdk14</artifactId>
            
 <version>1.7.21</version>
    
         <type>jar</type>
            
 <scope>compile</scope>
    
     </dependency>
        
 <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java
 -->
        
 <dependency>
            
 <groupId>mysql</groupId>
    
        
 <artifactId>mysql-connector-java</artifactId>
            
 <version>5.1.45</version>
    
         <scope>provided</scope>
         </dependency>
 
         <!-- https://mvnrepository.com/artifact/javax/javaee-api
 -->
         <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core
 -->
        
 <dependency>
            
 <groupId>org.hibernate</groupId>
            
 <artifactId>hibernate-core</artifactId>
            
 <version>5.2.10.Final</version>
         </dependency>
         <dependency>
            
 <groupId>javax.validation</groupId>
            
 <artifactId>validation-api</artifactId>
            
 <version>2.0.0.Final</version>
         </dependency>
         <dependency>
            
 <groupId>javax.transaction</groupId>
            
 <artifactId>jta</artifactId>
            
 <version>1.1</version>
    
     </dependency>
        
 <!-- https://mvnrepository.com/artifact/javax/javaee-api
 -->
        
 <dependency>
            
 <groupId>javax</groupId>
    
        
 <artifactId>javaee-api</artifactId>
            
 <version>8.0</version>
    
         <scope>provided</scope>
         </dependency>
         <!-- https://mvnrepository.com/artifact/com.google.guava/guava
 -->
        
 <dependency>
            
 <groupId>com.google.guava</groupId>
            
 <artifactId>guava</artifactId>
            
 <version>19.0</version>
    
     </dependency>
        
 <!-- https://mvnrepository.com/artifact/org.javassist/javassist
 -->
        
 <dependency>
            
 <groupId>org.javassist</groupId>
            
 <artifactId>javassist</artifactId>
            
 <version>3.19.0-GA</version>
         </dependency>
         <dependency>
            
 <groupId>org.apache.geronimo.specs</groupId>
            
 <artifactId>geronimo-osgi-locator</artifactId>
            
 <version>1.1</version>
    
     </dependency><!-- https://mvnrepository.com/artifact/org.jboss.logging/jboss-logging
 -->
        
 <dependency>
            
 <groupId>org.jboss.logging</groupId>
            
 <artifactId>jboss-logging</artifactId>
            
 <version>3.3.1.Final</version>
            
 <scope>runtime</scope>
    
     </dependency>
        
 <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate
 -->
        
 <dependency>
            
 <groupId>com.fasterxml</groupId>
            
 <artifactId>classmate</artifactId>
            
 <version>0.8.0</version>
    
     </dependency>
        
 <!-- https://mvnrepository.com/artifact/org.sonatype.aether/aether-api
 -->
        
 <dependency>
            
 <groupId>org.sonatype.aether</groupId>
            
 <artifactId>aether-api</artifactId>
            
 <version>1.7</version>
    
     </dependency>
    
 </dependencies>
 
 </project>
 
 I am running on Windows 10, Eclipse Oxygen and  Hibernate 5.2.10.
 
 Recently,
 I have added in persistence.xml file as I want to ride of  JPA 'JTP' local resource to do the management of  transaction and then I faced this problem of my url showing  faces.
 
 Also, I created the
 META-INF folder manually since it is not there.
 
 Here's my project
 structure :
 https://ibb.co/gQPcHH
 
 http://localhost:8080/Hi5S/faces/tutorRegister.jsp
 
 (I do not want faces in the
 url)
 
 Now, I have followed
 the advised as per this link below but to no avail.
 
 https://stackoverflow.com/questions/30380941/disable-eclipse-jsf-facet-nature
 
 The guy that mentioned the
 method has now switch to use Intelligence IDE and I  can't get any help..
 
 Hope someone how to disable it.
 
 Thanks a million.
 
 regards,
 Karen
 
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [hidden email]
 For additional commands, e-mail: [hidden email]
 
 
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [hidden email]
 For additional commands, e-mail: [hidden email]
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: How to disable jsf in Eclipse

Karen Goh
In reply to this post by Karen Goh

--------------------------------------------
On Tue, 4/10/18, Diego Lin <[hidden email]> wrote:

 Subject: RE: How to disable jsf in Eclipse
 To: "Maven Users List" <[hidden email]>, "Karen Goh" <[hidden email]>
 Date: Tuesday, April 10, 2018, 2:21 PM
 
 
 If you just want
 to disable JSF in Eclipse, you may modify the project file
 ".project" directly.
 
 Please try this way:
 1. Close
 the project in Eclipse.
 2. Edit the file
 .project to remove all stuff related to JSF, like these:
 
        
 <buildCommand>
            
 <name>org.eclipse.wst.common.project.facet.core.builder</name>
             <arguments>
             </arguments>
         </buildCommand>
 
        
 <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
 3. Open the project again.

It does not work !
 
I did what you said.  And here's how the .project file looks like now

https://ibb.co/dbnT7H

Still, faces will show....
 
 Thanks,
 Diego
 
 -----Original Message-----
 From: Karen Goh [mailto:[hidden email]]
 
 Sent: Tuesday, April 10, 2018 2:13 PM
 To: Maven Users List
 Cc: Diego
 Lin
 Subject: RE: How to disable jsf in
 Eclipse
 
 [External
 E-mail]
 
 
 
 --------------------------------------------
 On Tue, 4/10/18, Diego Lin <[hidden email]>
 wrote:
 
  Subject: RE: How to
 disable jsf in Eclipse
  To: "Maven
 Users List" <[hidden email]>,
 "Karen Goh" <[hidden email]>
  Date: Tuesday, April 10, 2018, 1:39 PM
 
 
  please try
 this
  way:
 
  Properties of your
  project
 -> Project Facets -> JavaServer Faces. Uncheck 
 it.
 
 
 It
 does not work!
 
 I did this
 before I tried other things that was mentioned in the
 net.
 
 After I unchecked, I
 would do a Maven update on the project can it would become
 check again........
 
 And so
 the same old url with faces came back again...
 
 
 
  Thanks,
  Diego
 
 
 
 -----Original
  Message-----
 
 From: Karen Goh [mailto:[hidden email]]
 
  Sent: Tuesday, April 10,
 2018 1:10 PM
  To: [hidden email]
  Subject: How to disable jsf in Eclipse
 
  [External E-mail]
 
 
  Dear
  expert,
 
  I
 am running a
  maven war plug-in jee project
 using Tomcat and TomEE I  think, with Hibernate and jsp.
 
  Here's my pom.xml :
 
  <project xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     
 
 <modelVersion>4.0.0</modelVersion>
      <groupId>Hi5S</groupId>
     
 
 <artifactId>Hi5S</artifactId>
 
    
 
 <version>0.0.1-SNAPSHOT</version>
     
 
 <packaging>war</packaging>
 
     <build>
     
  <resources>
         
    
  <resource>
   
            
 
 <directory>src/main/resources</directory>
               
 
 <targetPath>WEB-INF</targetPath>
                <includes>
                 
 
 <include>**/*</include>
     
  
          </includes>
           
   
 </resource>
         
      </resources>
   
 </build>
     
 
 <properties>
         
 
 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         
      
 
 <maven.compiler.source>1.8</maven.compiler.source>
         
 
 <maven.compiler.target>1.8</maven.compiler.target>
 
         
 
 <failOnMissingWebXml>false</failOnMissingWebXml>
 
     
 </properties>
 
 
     <dependencies>
         
 <dependency>
             
 
 <groupId>org.apache.maven.plugins</groupId>
             
 
 <artifactId>maven-war-plugin</artifactId>
             
 
 <version>3.2.0</version>
 
    
      </dependency>
         
  <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jdbc
  -->
 
 
        
  <dependency>
             
 
 <groupId>org.apache.tomcat</groupId>
             
 
 <artifactId>tomcat-jdbc</artifactId>
             
 
 <version>9.0.2</version>
 
    
      </dependency>
         
  <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jsp-api
  -->
         
  <dependency>
     
        
 
 <groupId>org.apache.tomcat</groupId>
             
 
 <artifactId>tomcat-jsp-api</artifactId>
             
 
 <version>9.0.4</version>
 
    
         
 <scope>provided</scope>
     
     </dependency>
         
 <dependency>
             
 
 <groupId>org.apache.logging.log4j</groupId>
             
 
 <artifactId>log4j-api</artifactId>
             
 
 <version>2.10.0</version>
 
    
      </dependency>
         
 
 <dependency>
             
 
 <groupId>org.apache.logging.log4j</groupId>
             
 
 <artifactId>log4j-core</artifactId>
             
 
 <version>2.10.0</version>
 
    
      </dependency>
         
 
 <dependency>
             
 
 <groupId>javax.servlet</groupId>
             
 
 <artifactId>jstl</artifactId>
 
            
 
 <version>1.2</version>
 
    
      </dependency>
 
          <!--
 datasource-proxy
  -->
 
         <dependency>
     
        
 
 <groupId>commons-digester</groupId>
             
 
 <artifactId>commons-digester</artifactId>
             
 
 <version>2.1</version>
 
    
      </dependency>
         
 
 <dependency>
             
 
 <groupId>commons-logging</groupId>
             
 
 <artifactId>commons-logging</artifactId>
             
 
 <version>1.2</version>
 
    
      </dependency>
         
 
 <dependency>
             
 
 <groupId>javax.servlet</groupId>
             
 
 <artifactId>jsp-api</artifactId>
             
 
 <version>2.0</version>
 
    
         
 <scope>provided</scope>
     
     </dependency>
         
 <dependency>
             
  <groupId>jstl</groupId>
     
         
 <artifactId>jstl</artifactId>
 
            
 
 <scope>provided</scope>
 
    
         
 <version>1.2</version>
     
     </dependency>
         
 <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-web
  -->
         
  <dependency>
     
        
 
 <groupId>org.apache.logging.log4j</groupId>
             
 
 <artifactId>log4j-web</artifactId>
             
 
 <version>2.7</version>
 
    
      </dependency>
         
 
 <dependency>
             
 
 <groupId>javax.servlet</groupId>
             
 
 <artifactId>javax.servlet-api</artifactId>
             
 
 <version>3.1.0</version>
 
    
         
 <scope>provided</scope>
     
     </dependency>
         
 <!-- https://mvnrepository.com/artifact/org.apache.tomee/javaee-api
  -->
         
  <dependency>
     
        
 
 <groupId>org.slf4j</groupId>
 
            
 
 <artifactId>slf4j-jdk14</artifactId>
             
 
 <version>1.7.21</version>
 
    
         
 <type>jar</type>
         
    
 
 <scope>compile</scope>
 
    
      </dependency>
         
  <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java
  -->
         
  <dependency>
     
        
 
 <groupId>mysql</groupId>
 
    
         
 
 <artifactId>mysql-connector-java</artifactId>
             
 
 <version>5.1.45</version>
 
    
         
 <scope>provided</scope>
     
     </dependency>
 
          <!-- https://mvnrepository.com/artifact/javax/javaee-api
  -->
          <!--
 https://mvnrepository.com/artifact/org.hibernate/hibernate-core
  -->
         
  <dependency>
     
        
 
 <groupId>org.hibernate</groupId>
             
 
 <artifactId>hibernate-core</artifactId>
             
 
 <version>5.2.10.Final</version>
 
         </dependency>
     
     <dependency>
         
    
 
 <groupId>javax.validation</groupId>
             
 
 <artifactId>validation-api</artifactId>
             
 
 <version>2.0.0.Final</version>
 
         </dependency>
     
     <dependency>
         
    
 
 <groupId>javax.transaction</groupId>
             
 
 <artifactId>jta</artifactId>
 
            
 
 <version>1.1</version>
 
    
      </dependency>
         
  <!-- https://mvnrepository.com/artifact/javax/javaee-api
  -->
         
  <dependency>
     
        
 
 <groupId>javax</groupId>
 
    
         
 
 <artifactId>javaee-api</artifactId>
             
 
 <version>8.0</version>
 
    
         
 <scope>provided</scope>
     
     </dependency>
         
 <!-- https://mvnrepository.com/artifact/com.google.guava/guava
  -->
         
  <dependency>
     
        
 
 <groupId>com.google.guava</groupId>
             
 
 <artifactId>guava</artifactId>
 
            
 
 <version>19.0</version>
 
    
      </dependency>
         
  <!-- https://mvnrepository.com/artifact/org.javassist/javassist
  -->
         
  <dependency>
     
        
 
 <groupId>org.javassist</groupId>
             
 
 <artifactId>javassist</artifactId>
             
 
 <version>3.19.0-GA</version>
 
         </dependency>
     
     <dependency>
         
    
 
 <groupId>org.apache.geronimo.specs</groupId>
             
 
 <artifactId>geronimo-osgi-locator</artifactId>
             
 
 <version>1.1</version>
 
    
      </dependency><!-- https://mvnrepository.com/artifact/org.jboss.logging/jboss-logging
  -->
         
  <dependency>
     
        
 
 <groupId>org.jboss.logging</groupId>
             
 
 <artifactId>jboss-logging</artifactId>
             
 
 <version>3.3.1.Final</version>
 
            
 
 <scope>runtime</scope>
 
    
      </dependency>
         
  <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate
  -->
         
  <dependency>
     
        
 
 <groupId>com.fasterxml</groupId>
             
 
 <artifactId>classmate</artifactId>
             
 
 <version>0.8.0</version>
 
    
      </dependency>
         
  <!-- https://mvnrepository.com/artifact/org.sonatype.aether/aether-api
  -->
         
  <dependency>
     
        
 
 <groupId>org.sonatype.aether</groupId>
             
 
 <artifactId>aether-api</artifactId>
             
 
 <version>1.7</version>
 
    
      </dependency>
     
 
 </dependencies>
 
 
 </project>
 
  I am
 running on Windows 10, Eclipse Oxygen and  Hibernate
 5.2.10.
 
  Recently,
  I have added in persistence.xml file as I want
 to ride of  JPA 'JTP' local resource to do the
 management of  transaction and then I faced this problem of
 my url showing  faces.
 
 
 Also, I created the
  META-INF folder
 manually since it is not there.
 
  Here's my project
 
 structure :
  https://ibb.co/gQPcHH
 
 
  http://localhost:8080/Hi5S/faces/tutorRegister.jsp
 
  (I do not want faces in
 the
  url)
 
 
 Now, I have followed
  the advised as per
 this link below but to no avail.
 
  https://stackoverflow.com/questions/30380941/disable-eclipse-jsf-facet-nature
 
  The guy that mentioned
 the
  method has now switch to use
 Intelligence IDE and I  can't get any help..
 
  Hope someone how to disable
 it.
 
  Thanks a million.
 
  regards,
 
 Karen
 
 
 
 ---------------------------------------------------------------------
  To unsubscribe, e-mail: [hidden email]
  For additional commands, e-mail: [hidden email]
 
 
 
 
 ---------------------------------------------------------------------
  To unsubscribe, e-mail: [hidden email]
  For additional commands, e-mail: [hidden email]
 
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [hidden email]
 For additional commands, e-mail: [hidden email]
 
 
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [hidden email]
 For additional commands, e-mail: [hidden email]
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: How to disable jsf in Eclipse

Diego Lin
 
Hi Karen,

I am sorry I didn't see your question carefully. I just shared my answer according to the subject of your mail. I carefully read your mail.
Your question is:
http://localhost:8080/Hi5S/faces/tutorRegister.jsp
(I do not want faces in the url)

You need to change your subject, that misleads ones.

I saw your project: https://ibb.co/gQPcHH

It doesn't comply with the Maven conventions. The picture shows there is no  "src/main/webapp" folder that includes all stuff related to web.

As for the "WebContent" folder, it's the WTP convention. You should move all stuff in it to src/main/webapp, and try again.

As I knew, JSF wouldn't automatically add something to form a URL.

Frankly, your issue is related to JSF. Even in a JSF project, JSP can work normally.


Thanks,
Diego


-----Original Message-----
From: Karen Goh [mailto:[hidden email]]
Sent: Tuesday, April 10, 2018 2:45 PM
To: Maven Users List
Cc: Diego Lin
Subject: RE: How to disable jsf in Eclipse

[External E-mail]



--------------------------------------------
On Tue, 4/10/18, Diego Lin <[hidden email]> wrote:

 Subject: RE: How to disable jsf in Eclipse
 To: "Maven Users List" <[hidden email]>, "Karen Goh" <[hidden email]>
 Date: Tuesday, April 10, 2018, 2:21 PM
 
 
 If you just want
 to disable JSF in Eclipse, you may modify the project file  ".project" directly.
 
 Please try this way:
 1. Close
 the project in Eclipse.
 2. Edit the file
 .project to remove all stuff related to JSF, like these:
 
        
 <buildCommand>
            
 <name>org.eclipse.wst.common.project.facet.core.builder</name>
             <arguments>
             </arguments>
         </buildCommand>
 
        
 <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
 3. Open the project again.

It does not work !
 
I did what you said.  And here's how the .project file looks like now

https://ibb.co/dbnT7H

Still, faces will show....
 
 Thanks,
 Diego
 
 -----Original Message-----
 From: Karen Goh [mailto:[hidden email]]
 
 Sent: Tuesday, April 10, 2018 2:13 PM
 To: Maven Users List
 Cc: Diego
 Lin
 Subject: RE: How to disable jsf in
 Eclipse
 
 [External
 E-mail]
 
 
 
 --------------------------------------------
 On Tue, 4/10/18, Diego Lin <[hidden email]>
 wrote:
 
  Subject: RE: How to
 disable jsf in Eclipse
  To: "Maven
 Users List" <[hidden email]>,
 "Karen Goh" <[hidden email]>
  Date: Tuesday, April 10, 2018, 1:39 PM
 
 
  please try
 this
  way:
 
  Properties of your
  project
 -> Project Facets -> JavaServer Faces. Uncheck  it.
 
 
 It
 does not work!
 
 I did this
 before I tried other things that was mentioned in the  net.
 
 After I unchecked, I
 would do a Maven update on the project can it would become  check again........
 
 And so
 the same old url with faces came back again...
 
 
 
  Thanks,
  Diego
 
 
 
 -----Original
  Message-----
 
 From: Karen Goh [mailto:[hidden email]]
 
  Sent: Tuesday, April 10,
 2018 1:10 PM
  To: [hidden email]
  Subject: How to disable jsf in Eclipse
 
  [External E-mail]
 
 
  Dear
  expert,
 
  I
 am running a
  maven war plug-in jee project
 using Tomcat and TomEE I  think, with Hibernate and jsp.
 
  Here's my pom.xml :
 
  <project xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     
 
 <modelVersion>4.0.0</modelVersion>
      <groupId>Hi5S</groupId>
     
 
 <artifactId>Hi5S</artifactId>
 
    
 
 <version>0.0.1-SNAPSHOT</version>
     
 
 <packaging>war</packaging>
 
     <build>
     
  <resources>
         
    
  <resource>
   
            
 
 <directory>src/main/resources</directory>
               
 
 <targetPath>WEB-INF</targetPath>
                <includes>
                 
 
 <include>**/*</include>
     
  
          </includes>
           
   
 </resource>
         
      </resources>
   
 </build>
     
 
 <properties>
         
 
 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         
      
 
 <maven.compiler.source>1.8</maven.compiler.source>
         
 
 <maven.compiler.target>1.8</maven.compiler.target>
 
         
 
 <failOnMissingWebXml>false</failOnMissingWebXml>
 
     
 </properties>
 
 
     <dependencies>
         
 <dependency>
             
 
 <groupId>org.apache.maven.plugins</groupId>
             
 
 <artifactId>maven-war-plugin</artifactId>
             
 
 <version>3.2.0</version>
 
    
      </dependency>
         
  <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jdbc
  -->
 
 
        
  <dependency>
             
 
 <groupId>org.apache.tomcat</groupId>
             
 
 <artifactId>tomcat-jdbc</artifactId>
             
 
 <version>9.0.2</version>
 
    
      </dependency>
         
  <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jsp-api
  -->
         
  <dependency>
     
        
 
 <groupId>org.apache.tomcat</groupId>
             
 
 <artifactId>tomcat-jsp-api</artifactId>
             
 
 <version>9.0.4</version>
 
    
         
 <scope>provided</scope>
     
     </dependency>
         
 <dependency>
             
 
 <groupId>org.apache.logging.log4j</groupId>
             
 
 <artifactId>log4j-api</artifactId>
             
 
 <version>2.10.0</version>
 
    
      </dependency>
         
 
 <dependency>
             
 
 <groupId>org.apache.logging.log4j</groupId>
             
 
 <artifactId>log4j-core</artifactId>
             
 
 <version>2.10.0</version>
 
    
      </dependency>
         
 
 <dependency>
             
 
 <groupId>javax.servlet</groupId>
             
 
 <artifactId>jstl</artifactId>
 
            
 
 <version>1.2</version>
 
    
      </dependency>
 
          <!--
 datasource-proxy
  -->
 
         <dependency>
     
        
 
 <groupId>commons-digester</groupId>
             
 
 <artifactId>commons-digester</artifactId>
             
 
 <version>2.1</version>
 
    
      </dependency>
         
 
 <dependency>
             
 
 <groupId>commons-logging</groupId>
             
 
 <artifactId>commons-logging</artifactId>
             
 
 <version>1.2</version>
 
    
      </dependency>
         
 
 <dependency>
             
 
 <groupId>javax.servlet</groupId>
             
 
 <artifactId>jsp-api</artifactId>
             
 
 <version>2.0</version>
 
    
         
 <scope>provided</scope>
     
     </dependency>
         
 <dependency>
             
  <groupId>jstl</groupId>
     
         
 <artifactId>jstl</artifactId>
 
            
 
 <scope>provided</scope>
 
    
         
 <version>1.2</version>
     
     </dependency>
         
 <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-web
  -->
         
  <dependency>
     
        
 
 <groupId>org.apache.logging.log4j</groupId>
             
 
 <artifactId>log4j-web</artifactId>
             
 
 <version>2.7</version>
 
    
      </dependency>
         
 
 <dependency>
             
 
 <groupId>javax.servlet</groupId>
             
 
 <artifactId>javax.servlet-api</artifactId>
             
 
 <version>3.1.0</version>
 
    
         
 <scope>provided</scope>
     
     </dependency>
         
 <!-- https://mvnrepository.com/artifact/org.apache.tomee/javaee-api
  -->
         
  <dependency>
     
        
 
 <groupId>org.slf4j</groupId>
 
            
 
 <artifactId>slf4j-jdk14</artifactId>
             
 
 <version>1.7.21</version>
 
    
         
 <type>jar</type>
         
    
 
 <scope>compile</scope>
 
    
      </dependency>
         
  <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java
  -->
         
  <dependency>
     
        
 
 <groupId>mysql</groupId>
 
    
         
 
 <artifactId>mysql-connector-java</artifactId>
             
 
 <version>5.1.45</version>
 
    
         
 <scope>provided</scope>
     
     </dependency>
 
          <!-- https://mvnrepository.com/artifact/javax/javaee-api
  -->
          <!--
 https://mvnrepository.com/artifact/org.hibernate/hibernate-core
  -->
         
  <dependency>
     
        
 
 <groupId>org.hibernate</groupId>
             
 
 <artifactId>hibernate-core</artifactId>
             
 
 <version>5.2.10.Final</version>
 
         </dependency>
     
     <dependency>
         
    
 
 <groupId>javax.validation</groupId>
             
 
 <artifactId>validation-api</artifactId>
             
 
 <version>2.0.0.Final</version>
 
         </dependency>
     
     <dependency>
         
    
 
 <groupId>javax.transaction</groupId>
             
 
 <artifactId>jta</artifactId>
 
            
 
 <version>1.1</version>
 
    
      </dependency>
         
  <!-- https://mvnrepository.com/artifact/javax/javaee-api
  -->
         
  <dependency>
     
        
 
 <groupId>javax</groupId>
 
    
         
 
 <artifactId>javaee-api</artifactId>
             
 
 <version>8.0</version>
 
    
         
 <scope>provided</scope>
     
     </dependency>
         
 <!-- https://mvnrepository.com/artifact/com.google.guava/guava
  -->
         
  <dependency>
     
        
 
 <groupId>com.google.guava</groupId>
             
 
 <artifactId>guava</artifactId>
 
            
 
 <version>19.0</version>
 
    
      </dependency>
         
  <!-- https://mvnrepository.com/artifact/org.javassist/javassist
  -->
         
  <dependency>
     
        
 
 <groupId>org.javassist</groupId>
             
 
 <artifactId>javassist</artifactId>
             
 
 <version>3.19.0-GA</version>
 
         </dependency>
     
     <dependency>
         
    
 
 <groupId>org.apache.geronimo.specs</groupId>
             
 
 <artifactId>geronimo-osgi-locator</artifactId>
             
 
 <version>1.1</version>
 
    
      </dependency><!-- https://mvnrepository.com/artifact/org.jboss.logging/jboss-logging
  -->
         
  <dependency>
     
        
 
 <groupId>org.jboss.logging</groupId>
             
 
 <artifactId>jboss-logging</artifactId>
             
 
 <version>3.3.1.Final</version>
 
            
 
 <scope>runtime</scope>
 
    
      </dependency>
         
  <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate
  -->
         
  <dependency>
     
        
 
 <groupId>com.fasterxml</groupId>
             
 
 <artifactId>classmate</artifactId>
             
 
 <version>0.8.0</version>
 
    
      </dependency>
         
  <!-- https://mvnrepository.com/artifact/org.sonatype.aether/aether-api
  -->
         
  <dependency>
     
        
 
 <groupId>org.sonatype.aether</groupId>
             
 
 <artifactId>aether-api</artifactId>
             
 
 <version>1.7</version>
 
    
      </dependency>
     
 
 </dependencies>
 
 
 </project>
 
  I am
 running on Windows 10, Eclipse Oxygen and  Hibernate  5.2.10.
 
  Recently,
  I have added in persistence.xml file as I want  to ride of  JPA 'JTP' local resource to do the  management of  transaction and then I faced this problem of  my url showing  faces.
 
 
 Also, I created the
  META-INF folder
 manually since it is not there.
 
  Here's my project
 
 structure :
  https://ibb.co/gQPcHH
 
 
  http://localhost:8080/Hi5S/faces/tutorRegister.jsp
 
  (I do not want faces in
 the
  url)
 
 
 Now, I have followed
  the advised as per
 this link below but to no avail.
 
  https://stackoverflow.com/questions/30380941/disable-eclipse-jsf-facet-nature
 
  The guy that mentioned
 the
  method has now switch to use
 Intelligence IDE and I  can't get any help..
 
  Hope someone how to disable
 it.
 
  Thanks a million.
 
  regards,
 
 Karen
 
 
 
 ---------------------------------------------------------------------
  To unsubscribe, e-mail: [hidden email]
  For additional commands, e-mail: [hidden email]
 
 
 
 
 ---------------------------------------------------------------------
  To unsubscribe, e-mail: [hidden email]
  For additional commands, e-mail: [hidden email]
 
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [hidden email]
 For additional commands, e-mail: [hidden email]
 
 
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [hidden email]
 For additional commands, e-mail: [hidden email]
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: How to disable jsf in Eclipse

Matthew Broadhead
In reply to this post by Karen Goh
did you check your pom dependency hierarchy?  it is a tab on eclipse
editor when you have your pom.xml open.  it might tell you what package
is bringing JSF into project?

On 10/04/2018 07:09, Karen Goh wrote:

> Dear expert,
>
> I am running a maven war plug-in jee project using Tomcat and TomEE I think, with Hibernate and jsp.
>
> Here's my pom.xml :
>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>Hi5S</groupId>
> <artifactId>Hi5S</artifactId>
> <version>0.0.1-SNAPSHOT</version>
> <packaging>war</packaging>
> <build>
> <resources>
>               <resource>
>                <directory>src/main/resources</directory>
>                <targetPath>WEB-INF</targetPath>
>                <includes>
>                  <include>**/*</include>
>                </includes>
>              </resource>
>          
>      </resources>
>    </build>
> <properties>
> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>
>   <maven.compiler.source>1.8</maven.compiler.source>
> <maven.compiler.target>1.8</maven.compiler.target>
>
> <failOnMissingWebXml>false</failOnMissingWebXml>
>
> </properties>
>
> <dependencies>
> <dependency>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-war-plugin</artifactId>
> <version>3.2.0</version>
> </dependency>
> <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jdbc -->
>
> <dependency>
> <groupId>org.apache.tomcat</groupId>
> <artifactId>tomcat-jdbc</artifactId>
> <version>9.0.2</version>
> </dependency>
> <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jsp-api -->
> <dependency>
> <groupId>org.apache.tomcat</groupId>
> <artifactId>tomcat-jsp-api</artifactId>
> <version>9.0.4</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.logging.log4j</groupId>
> <artifactId>log4j-api</artifactId>
> <version>2.10.0</version>
> </dependency>
> <dependency>
> <groupId>org.apache.logging.log4j</groupId>
> <artifactId>log4j-core</artifactId>
> <version>2.10.0</version>
> </dependency>
> <dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>jstl</artifactId>
> <version>1.2</version>
> </dependency>
>
> <!-- datasource-proxy -->
> <dependency>
> <groupId>commons-digester</groupId>
> <artifactId>commons-digester</artifactId>
> <version>2.1</version>
> </dependency>
> <dependency>
> <groupId>commons-logging</groupId>
> <artifactId>commons-logging</artifactId>
> <version>1.2</version>
> </dependency>
> <dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>jsp-api</artifactId>
> <version>2.0</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>jstl</groupId>
> <artifactId>jstl</artifactId>
> <scope>provided</scope>
> <version>1.2</version>
> </dependency>
> <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-web -->
> <dependency>
> <groupId>org.apache.logging.log4j</groupId>
> <artifactId>log4j-web</artifactId>
> <version>2.7</version>
> </dependency>
> <dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>javax.servlet-api</artifactId>
> <version>3.1.0</version>
> <scope>provided</scope>
> </dependency>
> <!-- https://mvnrepository.com/artifact/org.apache.tomee/javaee-api -->
> <dependency>
> <groupId>org.slf4j</groupId>
> <artifactId>slf4j-jdk14</artifactId>
> <version>1.7.21</version>
> <type>jar</type>
> <scope>compile</scope>
> </dependency>
> <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
> <dependency>
> <groupId>mysql</groupId>
> <artifactId>mysql-connector-java</artifactId>
> <version>5.1.45</version>
> <scope>provided</scope>
> </dependency>
>
> <!-- https://mvnrepository.com/artifact/javax/javaee-api -->
> <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core -->
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-core</artifactId>
> <version>5.2.10.Final</version>
> </dependency>
> <dependency>
> <groupId>javax.validation</groupId>
> <artifactId>validation-api</artifactId>
> <version>2.0.0.Final</version>
> </dependency>
> <dependency>
> <groupId>javax.transaction</groupId>
> <artifactId>jta</artifactId>
> <version>1.1</version>
> </dependency>
> <!-- https://mvnrepository.com/artifact/javax/javaee-api -->
> <dependency>
> <groupId>javax</groupId>
> <artifactId>javaee-api</artifactId>
> <version>8.0</version>
> <scope>provided</scope>
> </dependency>
> <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
> <dependency>
> <groupId>com.google.guava</groupId>
> <artifactId>guava</artifactId>
> <version>19.0</version>
> </dependency>
> <!-- https://mvnrepository.com/artifact/org.javassist/javassist -->
> <dependency>
> <groupId>org.javassist</groupId>
> <artifactId>javassist</artifactId>
> <version>3.19.0-GA</version>
> </dependency>
> <dependency>
> <groupId>org.apache.geronimo.specs</groupId>
> <artifactId>geronimo-osgi-locator</artifactId>
> <version>1.1</version>
> </dependency><!-- https://mvnrepository.com/artifact/org.jboss.logging/jboss-logging -->
> <dependency>
> <groupId>org.jboss.logging</groupId>
> <artifactId>jboss-logging</artifactId>
> <version>3.3.1.Final</version>
> <scope>runtime</scope>
> </dependency>
> <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
> <dependency>
> <groupId>com.fasterxml</groupId>
> <artifactId>classmate</artifactId>
> <version>0.8.0</version>
> </dependency>
> <!-- https://mvnrepository.com/artifact/org.sonatype.aether/aether-api -->
> <dependency>
> <groupId>org.sonatype.aether</groupId>
> <artifactId>aether-api</artifactId>
> <version>1.7</version>
> </dependency>
> </dependencies>
>
> </project>
>
> I am running on Windows 10, Eclipse Oxygen and Hibernate 5.2.10.
>
> Recently, I have added in persistence.xml file as I want to ride of JPA 'JTP' local resource to do the management of transaction and then I faced this
> problem of my url showing faces.
>
> Also, I created the META-INF folder manually since it is not there.
>
> Here's my project structure :
> https://ibb.co/gQPcHH
>
> http://localhost:8080/Hi5S/faces/tutorRegister.jsp
>
> (I do not want faces in the url)
>
> Now, I have followed the advised as per this link below but to no avail.
>
> https://stackoverflow.com/questions/30380941/disable-eclipse-jsf-facet-nature
>
> The guy that mentioned the method has now switch to use Intelligence IDE and I can't get any help..
>
> Hope someone how to disable it.
>
> Thanks a million.
>
> regards,
> Karen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: How to disable jsf in Eclipse

Karen Goh
In reply to this post by Karen Goh

--------------------------------------------
On Tue, 4/10/18, Diego Lin <[hidden email]> wrote:

 Subject: RE: How to disable jsf in Eclipse
 To: "Maven Users List" <[hidden email]>, "Karen Goh" <[hidden email]>
 Date: Tuesday, April 10, 2018, 3:19 PM
 
 
 Hi Karen,
 
 I am sorry I didn't see your question
 carefully. I just shared my answer according to the subject
 of your mail. I carefully read your mail.
 Your question is:
 http://localhost:8080/Hi5S/faces/tutorRegister.jsp
 (I do not want faces in the url)
 
 You need to change your subject, that
 misleads ones.
 
 I saw your project: https://ibb.co/gQPcHH
 
 It doesn't comply with the Maven
 conventions. The picture shows there is no 
 "src/main/webapp" folder that includes all stuff related to
 web.
 
 As for the "WebContent" folder, it's
 the WTP convention. You should move all stuff in it to
 src/main/webapp, and try again.

Hi Diegol,

Actually, I first created this project with maven until someone at Hibernate forum told me I have to use maven.

I am not quite sure what you meant by move all stuff into src/main/webapp.

I have moved all the jsp under WebContent folder do I also have to move all the java classes to this src/main/webapp?

Furthermore, I have tried to create a totally new maven project from scratch but I am not sure should I use maven archetype or maven plug-in ?

The youtube video shows that one could manipulate the folders and resources via pom...

In this case, what would be the best way to do it ?

I'd appreciate it if you could point me to some resources.  I have checked maven documentation but i have no idea when to use maven archetype and maven plug-in...it seems that i can change version along the way and changed accordingly....is that correct ?  And I should just create a simple maven project to start first and then use my old pom and build up from there again ?
 
 As I knew, JSF wouldn't automatically
 add something to form a URL.
 
 Frankly, your issue is related to JSF.
 Even in a JSF project, JSP can work normally.
 
 
 Thanks,
 Diego
 
 
 -----Original Message-----
 From: Karen Goh [mailto:[hidden email]]
 
 Sent: Tuesday, April 10, 2018 2:45 PM
 To: Maven Users List
 Cc: Diego Lin
 Subject: RE: How to disable jsf in
 Eclipse
 
 [External E-mail]
 
 
 
 --------------------------------------------
 On Tue, 4/10/18, Diego Lin <[hidden email]>
 wrote:
 
  Subject: RE: How to disable jsf in
 Eclipse
  To: "Maven Users List" <[hidden email]>,
 "Karen Goh" <[hidden email]>
  Date: Tuesday, April 10, 2018, 2:21
 PM
 
 
  If you just want
  to disable JSF in Eclipse, you may
 modify the project file  ".project" directly.
 
  Please try this way:
  1. Close
  the project in Eclipse.
  2. Edit the file
  .project to remove all stuff related
 to JSF, like these:
 
         
  <buildCommand>
             
 
 <name>org.eclipse.wst.common.project.facet.core.builder</name>
             
 <arguments>
             
 </arguments>
          </buildCommand>
 
         
 
 <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
  3. Open the project again.
 
 It does not work !
 
 I did what you said.  And here's
 how the .project file looks like now
 
 https://ibb.co/dbnT7H
 
 Still, faces will show....
 
  Thanks,
  Diego
 
  -----Original Message-----
  From: Karen Goh [mailto:[hidden email]]
 
  Sent: Tuesday, April 10, 2018 2:13 PM
  To: Maven Users List
  Cc: Diego
  Lin
  Subject: RE: How to disable jsf in
  Eclipse
 
  [External
  E-mail]
 
 
 
 
 --------------------------------------------
  On Tue, 4/10/18, Diego Lin <[hidden email]>
  wrote:
 
   Subject: RE: How to
  disable jsf in Eclipse
   To: "Maven
  Users List" <[hidden email]>,
  "Karen Goh" <[hidden email]>
   Date: Tuesday, April 10, 2018,
 1:39 PM
  
  
   please try
  this
   way:
  
   Properties of your
   project
  -> Project Facets -> JavaServer
 Faces. Uncheck  it.
  
 
  It
  does not work!
 
  I did this
  before I tried other things that was
 mentioned in the  net.
 
  After I unchecked, I
  would do a Maven update on the project
 can it would become  check again........
 
  And so
  the same old url with faces came back
 again...
 
 
  
   Thanks,
   Diego
  
  
 
  -----Original
   Message-----
 
  From: Karen Goh [mailto:[hidden email]]
  
   Sent: Tuesday, April 10,
  2018 1:10 PM
   To: [hidden email]
   Subject: How to disable jsf in
 Eclipse
  
   [External E-mail]
  
  
   Dear
   expert,
  
   I
  am running a
   maven war plug-in jee project
  using Tomcat and TomEE I  think, with
 Hibernate and jsp.
  
   Here's my pom.xml :
  
   <project xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      
 
 
 <modelVersion>4.0.0</modelVersion>
      
 <groupId>Hi5S</groupId>
      
 
 
 <artifactId>Hi5S</artifactId>
 
     
 
 
 <version>0.0.1-SNAPSHOT</version>
      
 
 
 <packaging>war</packaging>
 
      <build>
      
   <resources>
          
     
   <resource>
    
             
 
 
 <directory>src/main/resources</directory>
                
 
 
 <targetPath>WEB-INF</targetPath>
                
 <includes>
                  
 
  <include>**/*</include>
      
   
           </includes>
            
    
  </resource>
          
       </resources>
    
  </build>
      
 
  <properties>
          
 
 
 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
          
       
 
 
 <maven.compiler.source>1.8</maven.compiler.source>
          
 
 
 <maven.compiler.target>1.8</maven.compiler.target>
  
          
 
 
 <failOnMissingWebXml>false</failOnMissingWebXml>
  
      
  </properties>
  
 
      <dependencies>
          
  <dependency>
              
 
 
 <groupId>org.apache.maven.plugins</groupId>
              
 
 
 <artifactId>maven-war-plugin</artifactId>
              
 
  <version>3.2.0</version>
 
     
       </dependency>
          
   <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jdbc
   -->
  
 
         
   <dependency>
              
 
 
 <groupId>org.apache.tomcat</groupId>
              
 
 
 <artifactId>tomcat-jdbc</artifactId>
              
 
  <version>9.0.2</version>
 
     
       </dependency>
          
   <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-jsp-api
   -->
          
   <dependency>
      
         
 
 
 <groupId>org.apache.tomcat</groupId>
              
 
 
 <artifactId>tomcat-jsp-api</artifactId>
              
 
  <version>9.0.4</version>
 
     
          
  <scope>provided</scope>
      
      </dependency>
          
  <dependency>
              
 
 
 <groupId>org.apache.logging.log4j</groupId>
              
 
 
 <artifactId>log4j-api</artifactId>
              
 
  <version>2.10.0</version>
 
     
       </dependency>
          
 
  <dependency>
              
 
 
 <groupId>org.apache.logging.log4j</groupId>
              
 
 
 <artifactId>log4j-core</artifactId>
              
 
  <version>2.10.0</version>
 
     
       </dependency>
          
 
  <dependency>
              
 
 
 <groupId>javax.servlet</groupId>
              
 
 
 <artifactId>jstl</artifactId>
 
             
 
  <version>1.2</version>
 
     
       </dependency>
  
           <!--
  datasource-proxy
   -->
 
          <dependency>
      
         
 
 
 <groupId>commons-digester</groupId>
              
 
 
 <artifactId>commons-digester</artifactId>
              
 
  <version>2.1</version>
 
     
       </dependency>
          
 
  <dependency>
              
 
 
 <groupId>commons-logging</groupId>
              
 
 
 <artifactId>commons-logging</artifactId>
              
 
  <version>1.2</version>
 
     
       </dependency>
          
 
  <dependency>
              
 
 
 <groupId>javax.servlet</groupId>
              
 
 
 <artifactId>jsp-api</artifactId>
              
 
  <version>2.0</version>
 
     
          
  <scope>provided</scope>
      
      </dependency>
          
  <dependency>
              
  
 <groupId>jstl</groupId>
      
          
 
 <artifactId>jstl</artifactId>
 
             
 
  <scope>provided</scope>
 
     
          
  <version>1.2</version>
      
      </dependency>
          
  <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-web
   -->
          
   <dependency>
      
         
 
 
 <groupId>org.apache.logging.log4j</groupId>
              
 
 
 <artifactId>log4j-web</artifactId>
              
 
  <version>2.7</version>
 
     
       </dependency>
          
 
  <dependency>
              
 
 
 <groupId>javax.servlet</groupId>
              
 
 
 <artifactId>javax.servlet-api</artifactId>
              
 
  <version>3.1.0</version>
 
     
          
  <scope>provided</scope>
      
      </dependency>
          
  <!-- https://mvnrepository.com/artifact/org.apache.tomee/javaee-api
   -->
          
   <dependency>
      
         
 
 
 <groupId>org.slf4j</groupId>
 
             
 
 
 <artifactId>slf4j-jdk14</artifactId>
              
 
  <version>1.7.21</version>
 
     
          
  <type>jar</type>
          
     
 
  <scope>compile</scope>
 
     
       </dependency>
          
   <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java
   -->
          
   <dependency>
      
         
 
  <groupId>mysql</groupId>
 
     
          
 
 
 <artifactId>mysql-connector-java</artifactId>
              
 
  <version>5.1.45</version>
 
     
          
  <scope>provided</scope>
      
      </dependency>
  
           <!-- https://mvnrepository.com/artifact/javax/javaee-api
   -->
           <!--
  https://mvnrepository.com/artifact/org.hibernate/hibernate-core
   -->
          
   <dependency>
      
         
 
 
 <groupId>org.hibernate</groupId>
              
 
 
 <artifactId>hibernate-core</artifactId>
              
 
 
 <version>5.2.10.Final</version>
 
          </dependency>
      
      <dependency>
          
     
 
 
 <groupId>javax.validation</groupId>
              
 
 
 <artifactId>validation-api</artifactId>
              
 
 
 <version>2.0.0.Final</version>
 
          </dependency>
      
      <dependency>
          
     
 
 
 <groupId>javax.transaction</groupId>
              
 
 
 <artifactId>jta</artifactId>
 
             
 
  <version>1.1</version>
 
     
       </dependency>
          
   <!-- https://mvnrepository.com/artifact/javax/javaee-api
   -->
          
   <dependency>
      
         
 
  <groupId>javax</groupId>
 
     
          
 
 
 <artifactId>javaee-api</artifactId>
              
 
  <version>8.0</version>
 
     
          
  <scope>provided</scope>
      
      </dependency>
          
  <!-- https://mvnrepository.com/artifact/com.google.guava/guava
   -->
          
   <dependency>
      
         
 
 
 <groupId>com.google.guava</groupId>
              
 
 
 <artifactId>guava</artifactId>
 
             
 
  <version>19.0</version>
 
     
       </dependency>
          
   <!-- https://mvnrepository.com/artifact/org.javassist/javassist
   -->
          
   <dependency>
      
         
 
 
 <groupId>org.javassist</groupId>
              
 
 
 <artifactId>javassist</artifactId>
              
 
 
 <version>3.19.0-GA</version>
 
          </dependency>
      
      <dependency>
          
     
 
 
 <groupId>org.apache.geronimo.specs</groupId>
              
 
 
 <artifactId>geronimo-osgi-locator</artifactId>
              
 
  <version>1.1</version>
 
     
      
 </dependency><!-- https://mvnrepository.com/artifact/org.jboss.logging/jboss-logging
   -->
          
   <dependency>
      
         
 
 
 <groupId>org.jboss.logging</groupId>
              
 
 
 <artifactId>jboss-logging</artifactId>
              
 
 
 <version>3.3.1.Final</version>
 
             
 
  <scope>runtime</scope>
 
     
       </dependency>
          
   <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate
   -->
          
   <dependency>
      
         
 
 
 <groupId>com.fasterxml</groupId>
              
 
 
 <artifactId>classmate</artifactId>
              
 
  <version>0.8.0</version>
 
     
       </dependency>
          
   <!-- https://mvnrepository.com/artifact/org.sonatype.aether/aether-api
   -->
          
   <dependency>
      
         
 
 
 <groupId>org.sonatype.aether</groupId>
              
 
 
 <artifactId>aether-api</artifactId>
              
 
  <version>1.7</version>
 
     
       </dependency>
      
 
  </dependencies>
  
 
  </project>
  
   I am
  running on Windows 10, Eclipse Oxygen
 and  Hibernate  5.2.10.
  
   Recently,
   I have added in persistence.xml
 file as I want  to ride of  JPA 'JTP' local resource
 to do the  management of  transaction and then I faced
 this problem of  my url showing  faces.
  
 
  Also, I created the
   META-INF folder
  manually since it is not there.
  
   Here's my project
 
  structure :
   https://ibb.co/gQPcHH
 
 
   http://localhost:8080/Hi5S/faces/tutorRegister.jsp
  
   (I do not want faces in
  the
   url)
  
 
  Now, I have followed
   the advised as per
  this link below but to no avail.
  
   https://stackoverflow.com/questions/30380941/disable-eclipse-jsf-facet-nature
  
   The guy that mentioned
  the
   method has now switch to use
  Intelligence IDE and I  can't get any
 help..
  
   Hope someone how to disable
  it.
  
   Thanks a million.
  
   regards,
 
  Karen
  
  
 
 
 ---------------------------------------------------------------------
   To unsubscribe, e-mail: [hidden email]
   For additional commands, e-mail:
 [hidden email]
  
  
  
 
 
 ---------------------------------------------------------------------
   To unsubscribe, e-mail: [hidden email]
   For additional commands, e-mail:
 [hidden email]
  
 
 
 ---------------------------------------------------------------------
  To unsubscribe, e-mail: [hidden email]
  For additional commands, e-mail: [hidden email]
 
 
 
 
 ---------------------------------------------------------------------
  To unsubscribe, e-mail: [hidden email]
  For additional commands, e-mail: [hidden email]
 
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [hidden email]
 For additional commands, e-mail: [hidden email]
 
 
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [hidden email]
 For additional commands, e-mail: [hidden email]
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]