You need to sign in to do that
Don't have an account?
Prabitha S
Error Error: Apex class 'LoginAuthentication' does not exist Quick Fix Create Apex class 'public with sharing class LoginAuthentication' Quick Fix Create Apex class 'public class LoginAuthentication'
Error Error: Apex class 'LoginAuthentication' does not exist
Quick Fix Create Apex class 'public with sharing class LoginAuthentication'
Quick Fix Create Apex class 'public class LoginAuthentication'
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<apex:page sidebar="false" showheader="false" tabStyle="Employee__c" controller="LoginAuthentication">
<apex:form >
<apex:pageMessages />
<apex:pageBlock >
<div align="left">
<!-- <apex:image value="{!$Resource.Emplyee_VF_Logo}" style="margin-left:20px"/> -->
<apex:image url="{!URLFOR($Resource.Emplyee_VF_imgs, 'images/Employees.jpg')}"/>
</div>
<div align="center">
<apex:outputLabel value="Employee Login" style="font-weight:bold;font-size:25px;color:#B80000"/>
</div>
<hr/><br/><br/>
<apex:pageBlockSection columns="1" title="Please enter your username and password" collapsible="false">
<apex:pageBlockSectionItem >
<apex:outputLabel value="Username"/>
<apex:inputtext value="{!username}"/>
</apex:pageBlockSectionItem>
<apex:pageBlockSectionItem >
<apex:outputLabel value="Password"/>
<apex:inputsecret value="{!password}"/>
</apex:pageBlockSectionItem>
</apex:pageBlockSection>
<apex:panelGrid columns="3" style="margin-left:60px">
<apex:commandButton value="Login" action="{!loginCheck}"/>
<apex:commandButton value="Cancel"/>
<apex:commandButton value="Register"/>
</apex:panelGrid>
</apex:pageBlock>
</apex:form>
</apex:page>
Quick Fix Create Apex class 'public with sharing class LoginAuthentication'
Quick Fix Create Apex class 'public class LoginAuthentication'
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<apex:page sidebar="false" showheader="false" tabStyle="Employee__c" controller="LoginAuthentication">
<apex:form >
<apex:pageMessages />
<apex:pageBlock >
<div align="left">
<!-- <apex:image value="{!$Resource.Emplyee_VF_Logo}" style="margin-left:20px"/> -->
<apex:image url="{!URLFOR($Resource.Emplyee_VF_imgs, 'images/Employees.jpg')}"/>
</div>
<div align="center">
<apex:outputLabel value="Employee Login" style="font-weight:bold;font-size:25px;color:#B80000"/>
</div>
<hr/><br/><br/>
<apex:pageBlockSection columns="1" title="Please enter your username and password" collapsible="false">
<apex:pageBlockSectionItem >
<apex:outputLabel value="Username"/>
<apex:inputtext value="{!username}"/>
</apex:pageBlockSectionItem>
<apex:pageBlockSectionItem >
<apex:outputLabel value="Password"/>
<apex:inputsecret value="{!password}"/>
</apex:pageBlockSectionItem>
</apex:pageBlockSection>
<apex:panelGrid columns="3" style="margin-left:60px">
<apex:commandButton value="Login" action="{!loginCheck}"/>
<apex:commandButton value="Cancel"/>
<apex:commandButton value="Register"/>
</apex:panelGrid>
</apex:pageBlock>
</apex:form>
</apex:page>
Abhishek_Pareek
It seems that "LoginAuthentication" class which is used as controller for this page does not exist yet. You need to create the class first and then you can use that class as a controller for this page.