RE: How to disable jsf in Eclipse

2018-04-10 Thread Karen Goh


On Tue, 4/10/18, Diego Lin <die...@synnex.com> wrote:

 Subject: RE: How to disable jsf in Eclipse
 To: "Maven Users List" <users@maven.apache.org>, "Karen Goh" 
<karenwo...@yahoo.com>
 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 
accordinglyis 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:karenwo...@yahoo.com.INVALID]
 
 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 <die...@synnex.com>
 wrote:
 
  Subject: RE: How to disable jsf in
 Eclipse
  To: "Maven Users List" <users@maven.apache.org>,
 "Karen Goh" <karenwo...@yahoo.com>
  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:
  
         
  
             
 
 org.eclipse.wst.common.project.facet.core.builder
             
 
             
 
          
  
         
 
 org.eclipse.wst.common.project.facet.core.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:karenwo...@yahoo.com.INVALID]
  
  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 <die...@synnex.com>
  wrote:
  
   Subject: RE: How to
  disable jsf in Eclipse
   To: "Maven
  Users List" <users@maven.apache.org>,
  "Karen Goh" <karenwo...@yahoo.com>
   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:karenwo...@yahoo.com.INVALID]
   
   Sent: Tuesday, April 10,
  2018 1:10 PM
   To: users@maven.apache.org
   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 :
   
   http://maven.apache.org/POM/4.0.0;
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
       xsi:schemaLocation="http://maven.apac

Re: How to disable jsf in Eclipse

2018-04-10 Thread Matthew Broadhead
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 :

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;>
4.0.0
Hi5S
Hi5S
0.0.1-SNAPSHOT
war


  
   src/main/resources
   WEB-INF
   
 **/*
   
 
 
 

   


UTF-8

1.8
1.8

false





org.apache.maven.plugins
maven-war-plugin
3.2.0




org.apache.tomcat
tomcat-jdbc
9.0.2



org.apache.tomcat
tomcat-jsp-api
9.0.4
provided


org.apache.logging.log4j
log4j-api
2.10.0


org.apache.logging.log4j
log4j-core
2.10.0


javax.servlet
jstl
1.2




commons-digester
commons-digester
2.1


commons-logging
commons-logging
1.2


javax.servlet
jsp-api
2.0
provided


jstl
jstl
provided
1.2



org.apache.logging.log4j
log4j-web
2.7


javax.servlet
javax.servlet-api
3.1.0
provided



org.slf4j
slf4j-jdk14
1.7.21
jar
compile



mysql
mysql-connector-java
5.1.45
provided





org.hibernate
hibernate-core
5.2.10.Final


javax.validation
validation-api
2.0.0.Final


javax.transaction
jta
1.1



javax
javaee-api
8.0
provided



com.google.guava
guava
19.0



org.javassist
javassist
3.19.0-GA


org.apache.geronimo.specs
geronimo-osgi-locator
1.1


org.jboss.logging
jboss-logging
3.3.1.Final
runtime



com.fasterxml
classmate
0.8.0



org.sonatype.aether
aether-api
1.7





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 

RE: How to disable jsf in Eclipse

2018-04-10 Thread 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:karenwo...@yahoo.com.INVALID] 
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 <die...@synnex.com> wrote:

 Subject: RE: How to disable jsf in Eclipse
 To: "Maven Users List" <users@maven.apache.org>, "Karen Goh" 
<karenwo...@yahoo.com>
 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:
 
        
 
            
 org.eclipse.wst.common.project.facet.core.builder
             
             
         
 
        
 org.eclipse.wst.common.project.facet.core.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:karenwo...@yahoo.com.INVALID]
 
 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 <die...@synnex.com>
 wrote:
 
  Subject: RE: How to
 disable jsf in Eclipse
  To: "Maven
 Users List" <users@maven.apache.org>,
 "Karen Goh" <karenwo...@yahoo.com>
  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:karenwo...@yahoo.com.INVALID]
  
  Sent: Tuesday, April 10,
 2018 1:10 PM
  To: users@maven.apache.org
  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 :
  
  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;>
     
 
 4.0.0
      Hi5S
     
 
 Hi5S
 
    
 
 0.0.1-SNAPSHOT
     
 
 war
 
     
     
  
         
     
  
   
            
 
 src/main/resources
               
 
 WEB-INF
                
                 
 
 **/*
     
  
          
           
   
 
          
      
   
 
     
 
 
         
 
 UTF-8
          
      
 
 1.8
         
 
 1.8
  
         
 
 false
  
     
 
  
 
     
         
 
             
 
 org.apache.maven.plugins
             
 
 maven-war-plugin
             
 
 3.2.0
 
    
      
         
  
  
 
        
  
             
 
 org.apache.tomcat
             
 
 tomcat-jdbc
             
 
 9.0.2
 
    
      
         
  
         
  
     
        
 
 org.apache.tomcat
             
 
 tomcat-jsp-api
             
 
 9.0.4
 
    
         
 provided
     
     
         
 
             
 
 org.apache.logging.log4j
             
 
 log4j-api
             
 
 2.10.0
 
    
      
         
 
 
             
 
 org.apache.logging.log4j
             
 
 log4j-core
             
 
 2.10.0
 
    
      
         
 
 
             
 
 javax.servlet
             
 
 jstl
 
            
 
 1.2
 
    
      
  
          
 
         
     
        
 
 commons-digester
             
 
 commons-digester
             
 
 2.1
 
    
      
         
 
 
             
 
 commons-logging
             
 
 commons-logging
             
 
 1.2
 
    
      
         
 
 
             
 
 javax.servlet
             

RE: How to disable jsf in Eclipse

2018-04-10 Thread Karen Goh


On Tue, 4/10/18, Diego Lin <die...@synnex.com> wrote:

 Subject: RE: How to disable jsf in Eclipse
 To: "Maven Users List" <users@maven.apache.org>, "Karen Goh" 
<karenwo...@yahoo.com>
 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:
 
        
 
            
 org.eclipse.wst.common.project.facet.core.builder
             
             
         
 
        
 org.eclipse.wst.common.project.facet.core.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:karenwo...@yahoo.com.INVALID]
 
 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 <die...@synnex.com>
 wrote:
 
  Subject: RE: How to
 disable jsf in Eclipse
  To: "Maven
 Users List" <users@maven.apache.org>,
 "Karen Goh" <karenwo...@yahoo.com>
  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:karenwo...@yahoo.com.INVALID]
  
  Sent: Tuesday, April 10,
 2018 1:10 PM
  To: users@maven.apache.org
  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 :
  
  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;>
     
 
 4.0.0
      Hi5S
     
 
 Hi5S
 
    
 
 0.0.1-SNAPSHOT
     
 
 war
 
     
     
  
         
     
  
   
            
 
 src/main/resources
               
 
 WEB-INF
                
                 
 
 **/*
     
  
          
           
   
 
          
      
   
 
     
 
 
         
 
 UTF-8
          
      
 
 1.8
         
 
 1.8
  
         
 
 false
  
     
 
  
 
     
         
 
             
 
 org.apache.maven.plugins
             
 
 maven-war-plugin
             
 
 3.2.0
 
    
      
         
  
  
 
        
  
             
 
 org.apache.tomcat
             
 
 tomcat-jdbc
             
 
 9.0.2
 
    
      
         
  
         
  
     
        
 
 org.apache.tomcat
             
 
 tomcat-jsp-api
             
 
 9.0.4
 
    
         
 provided
     
     
         
 
             
 
 org.apache.logging.log4j
             
 
 log4j-api
             
 
 2.10.0
 
    
      
         
 
 
             
 
 org.apache.logging.log4j
             
 
 log4j-core
             
 
 2.10.0
 
    
      
         
 
 
             
 
 javax.servlet
             
 
 jstl
 
            
 
 1.2
 
    
      
  
          
 
         
     
        
 
 commons-digester
             
 
 commons-digester
             
 
 2.1
 
    
      
         
 
 
             
 
 commons-logging
             
 
 commons-logging
             
 
 1.2
 
    
      
         
 
 
             
 
 javax.servlet
             
 
 jsp-api
             
 
 2.0
 
    
         
 provided
     
     
         
 
             
  jstl
     
         
 jstl
 
            
 
 provided
 
    
         
 1.2
     
     
         
 
         
  
     
        
 
 org.apache.logging.log4j
             
 
 log4j-web
             
 
 2.7
 
    
      
         
 
 
             
 
 javax.servlet
             
 
 javax.servlet-api
             
 
 3.1.0
 
    
         
 provided
     
     
         
 
         
  
     
        
 
 org.slf4j
 
            
 
 slf4j-jdk14
             
 
 1.7.21
 
    
         
 jar
         
    
 
 compile
 
    
      
         
  
         
  
     
        
 
 mysql
 
    
         
 
 mysql-connector-java
             
 
 5.1.45
 
    
         
 provided
     
     
  
          
          
         
  
     
        
 
 org.hibernate
             
 
 hibernate-core
             
 
 5.2.10.Final
 
         
     
     
         
    
 
 javax.validation
             
 
 validation-api
             
 
 2.0.0.Fin

RE: How to disable jsf in Eclipse

2018-04-10 Thread 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:



org.eclipse.wst.common.project.facet.core.builder





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


Thanks,
Diego

-Original Message-
From: Karen Goh [mailto:karenwo...@yahoo.com.INVALID] 
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 <die...@synnex.com> wrote:

 Subject: RE: How to disable jsf in Eclipse
 To: "Maven Users List" <users@maven.apache.org>, "Karen Goh" 
<karenwo...@yahoo.com>
 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:karenwo...@yahoo.com.INVALID]
 
 Sent: Tuesday, April 10, 2018 1:10 PM
 To: users@maven.apache.org
 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 :
 
 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;>
    
 4.0.0
     Hi5S
    
 Hi5S
    
 0.0.1-SNAPSHOT
    
 war
     
    
 
             
 
              
 src/main/resources
              
 WEB-INF
               
                
 **/*
      
         
          
   
         
     
   
    
 
        
 UTF-8
         
     
 1.8
        
 1.8
 
        
 false
 
     
 
     
         
            
 org.apache.maven.plugins
            
 maven-war-plugin
            
 3.2.0
    
     
        
 
 
        
 
            
 org.apache.tomcat
            
 tomcat-jdbc
            
 9.0.2
    
     
        
 
        
 
            
 org.apache.tomcat
            
 tomcat-jsp-api
            
 9.0.4
    
         provided
         
         
            
 org.apache.logging.log4j
            
 log4j-api
            
 2.10.0
    
     
        
 
            
 org.apache.logging.log4j
            
 log4j-core
            
 2.10.0
    
     
        
 
            
 javax.servlet
            
 jstl
            
 1.2
    
     
 
         
         
            
 commons-digester
            
 commons-digester
            
 2.1
    
     
        
 
            
 commons-logging
            
 commons-logging
            
 1.2
    
     
        
 
            
 javax.servlet
            
 jsp-api
            
 2.0
    
         provided
         
         
            
 jstl
    
         jstl
            
 provided
    
         1.2
         
         
        
 
            
 org.apache.logging.log4j
            
 log4j-web
            
 2.7
    
     
        
 
            
 javax.servlet
            
 javax.servlet-api
            
 3.1.0
    
         provided
         
         
        
 
            
 org.slf4j
            
 slf4j-jdk14
            
 1.7.21
    
         jar
            
 compile
    
     
        
 
        
 
            
 mysql
    
        
 mysql-connector-java
            
 5.1.45
    
         provided
         
 
         
         
        
 
            
 org.hibernate
            
 hibernate-core
            
 5.2.10.Final
         
         
            
 javax.validation
            
 validation-api
            
 2.0.0.Final
         
         
            
 javax.transaction
            
 jta
            
 1.1
    
     
        
 
        
 
            
 javax
    
        
 javaee-api
            
 8.0
    
         provided
         
         
        
 
            
 com.google.guava
            
 guava
            
 19.0
    
     
        
 
        
 
            
 org.javassist
            
 javassist
            
 3.19.0-GA
         
         
            
 org.apache.geronimo.specs
            
 geronimo-osgi-locator
            
 1.1
    
     
        
 
            
 org.jboss.logging
            
 jboss-logging
            
 3.3.1.Final
            
 runtime
    
     
        
 
        
 
            
 com.fasterxml
            
 classmate
            
 0.8.0
    
     
        
 
        
 
            
 org.sonatype.aether
     

RE: How to disable jsf in Eclipse

2018-04-10 Thread Karen Goh


On Tue, 4/10/18, Diego Lin <die...@synnex.com> wrote:

 Subject: RE: How to disable jsf in Eclipse
 To: "Maven Users List" <users@maven.apache.org>, "Karen Goh" 
<karenwo...@yahoo.com>
 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:karenwo...@yahoo.com.INVALID]
 
 Sent: Tuesday, April 10, 2018 1:10 PM
 To: users@maven.apache.org
 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 :
 
 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;>
    
 4.0.0
     Hi5S
    
 Hi5S
    
 0.0.1-SNAPSHOT
    
 war
     
    
 
             
 
              
 src/main/resources
              
 WEB-INF
               
                
 **/*
      
         
          
   
         
           
   
    
 
        
 UTF-8
         
     
 1.8
        
 1.8
 
        
 false
 
     
 
     
         
            
 org.apache.maven.plugins
            
 maven-war-plugin
            
 3.2.0
    
     
        
 
 
        
 
            
 org.apache.tomcat
            
 tomcat-jdbc
            
 9.0.2
    
     
        
 
        
 
            
 org.apache.tomcat
            
 tomcat-jsp-api
            
 9.0.4
    
         provided
         
         
            
 org.apache.logging.log4j
            
 log4j-api
            
 2.10.0
    
     
        
 
            
 org.apache.logging.log4j
            
 log4j-core
            
 2.10.0
    
     
        
 
            
 javax.servlet
            
 jstl
            
 1.2
    
     
 
         
         
            
 commons-digester
            
 commons-digester
            
 2.1
    
     
        
 
            
 commons-logging
            
 commons-logging
            
 1.2
    
     
        
 
            
 javax.servlet
            
 jsp-api
            
 2.0
    
         provided
         
         
            
 jstl
    
         jstl
            
 provided
    
         1.2
         
         
        
 
            
 org.apache.logging.log4j
            
 log4j-web
            
 2.7
    
     
        
 
            
 javax.servlet
            
 javax.servlet-api
            
 3.1.0
    
         provided
         
         
        
 
            
 org.slf4j
            
 slf4j-jdk14
            
 1.7.21
    
         jar
            
 compile
    
     
        
 
        
 
            
 mysql
    
        
 mysql-connector-java
            
 5.1.45
    
         provided
         
 
         
         
        
 
            
 org.hibernate
            
 hibernate-core
            
 5.2.10.Final
         
         
            
 javax.validation
            
 validation-api
            
 2.0.0.Final
         
         
            
 javax.transaction
            
 jta
            
 1.1
    
     
        
 
        
 
            
 javax
    
        
 javaee-api
            
 8.0
    
         provided
         
         
        
 
            
 com.google.guava
            
 guava
            
 19.0
    
     
        
 
        
 
            
 org.javassist
            
 javassist
            
 3.19.0-GA
         
         
            
 org.apache.geronimo.specs
            
 geronimo-osgi-locator
            
 1.1
    
     
        
 
            
 org.jboss.logging
            
 jboss-logging
            
 3.3.1.Final
            
 runtime
    
     
        
 
        
 
            
 com.fasterxml
            
 classmate
            
 0.8.0
    
     
        
 
        
 
            
 org.sonatype.aether
            
 aether-api
            
 1.7
    
     
    
 
 
 
 
 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

RE: How to disable jsf in Eclipse

2018-04-09 Thread Diego Lin

please try this way:

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


Thanks,
Diego


-Original Message-
From: Karen Goh [mailto:karenwo...@yahoo.com.INVALID] 
Sent: Tuesday, April 10, 2018 1:10 PM
To: users@maven.apache.org
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 :

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;>
4.0.0
Hi5S
Hi5S
0.0.1-SNAPSHOT
war


 
  src/main/resources
  WEB-INF
  
**/*
  


  
  


UTF-8

1.8
1.8

false





org.apache.maven.plugins
maven-war-plugin
3.2.0




org.apache.tomcat
tomcat-jdbc
9.0.2



org.apache.tomcat
tomcat-jsp-api
9.0.4
provided


org.apache.logging.log4j
log4j-api
2.10.0


org.apache.logging.log4j
log4j-core
2.10.0


javax.servlet
jstl
1.2




commons-digester
commons-digester
2.1


commons-logging
commons-logging
1.2


javax.servlet
jsp-api
2.0
provided


jstl
jstl
provided
1.2



org.apache.logging.log4j
log4j-web
2.7


javax.servlet
javax.servlet-api
3.1.0
provided



org.slf4j
slf4j-jdk14
1.7.21
jar
compile



mysql
mysql-connector-java
5.1.45
provided





org.hibernate
hibernate-core
5.2.10.Final


javax.validation
validation-api
2.0.0.Final


javax.transaction
jta
1.1



javax
javaee-api
8.0
provided



com.google.guava
guava
19.0



org.javassist
javassist
3.19.0-GA


org.apache.geronimo.specs
geronimo-osgi-locator
1.1


org.jboss.logging
jboss-logging
3.3.1.Final
runtime



com.fasterxml
classmate
0.8.0



org.sonatype.aether
aether-api
1.7





I am running on Windows 10, Eclipse Oxygen and